public class AutoCollider
extends java.lang.Object
Constructor and Description |
---|
AutoCollider(PhyModel mdl,
double size,
int nbX,
int nbY,
int nbZ,
double K,
double Z)
Setup an auto-collider system for a given physical model.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<SpacePrint> |
activeVoxelSpacePrints() |
void |
generateSpaceTags() |
public AutoCollider(PhyModel mdl, double size, int nbX, int nbY, int nbZ, double K, double Z)
mdl
- the model.size
- the size of individual voxelsnbX
- voxels along X dimensionnbY
- voxels along Y dimensionnbZ
- voxels along Z dimensionK
- stiffness of autocollision interactionsZ
- damping of autocollision interactionspublic java.util.ArrayList<SpacePrint> activeVoxelSpacePrints()
public void generateSpaceTags()
Processing Library miPhysics by James Leonard. (c) 2019