|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttoxi.physics.constraints.CylinderConstraint
public class CylinderConstraint

| Constructor Summary | |
|---|---|
CylinderConstraint(toxi.geom.AxisAlignedCylinder cylinder)
|
|
| Method Summary | |
|---|---|
void |
apply(VerletParticle p)
Applies the constraint to the passed in particle. |
toxi.geom.AxisAlignedCylinder |
getCylinder()
|
void |
setCylinder(toxi.geom.AxisAlignedCylinder cylinder)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CylinderConstraint(toxi.geom.AxisAlignedCylinder cylinder)
| Method Detail |
|---|
public void apply(VerletParticle p)
ParticleConstraint
apply in interface ParticleConstraintp - particlepublic toxi.geom.AxisAlignedCylinder getCylinder()
public void setCylinder(toxi.geom.AxisAlignedCylinder cylinder)
cylinder - the cylinder to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||