public class Attractor3D extends Interaction
Constructor and Description |
---|
Attractor3D(double limitDist,
double attrFactor)
Attractor module
|
Modifier and Type | Method and Description |
---|---|
void |
compute()
Compute behavior of the Interaction (depends on the concrete implementation of concerned module).
|
double |
getParam(param p) |
int |
setParam(param p,
double val) |
calcDist1D, getElongation, getMat1, getMat2, getType, init
public Attractor3D(double limitDist, double attrFactor)
limitDist
- threshold distance below which the attraction force is null.attrFactor
- the attraction force factor.public void compute()
Interaction
compute
in class Interaction
Processing Library miPhysics by James Leonard. (c) 2019