Package toxi.physics3d.constraints
Class CylinderConstraint
java.lang.Object
toxi.physics3d.constraints.CylinderConstraint
- All Implemented Interfaces:
 ParticleConstraint3D
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidApplies the constraint to the passed in particle.voidsetCylinder(AxisAlignedCylinder cylinder)  
- 
Constructor Details
- 
CylinderConstraint
 
 - 
 - 
Method Details
- 
apply
Description copied from interface:ParticleConstraint3DApplies the constraint to the passed in particle. The method is assumed to manipulate the given instance directly.- Specified by:
 applyin interfaceParticleConstraint3D- Parameters:
 p- particle
 - 
getCylinder
- Returns:
 - the cylinder
 
 - 
setCylinder
- Parameters:
 cylinder- the cylinder to set
 
 -