|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.yobotics.simulationconstructionset.util.perturbance.ParticleCollisionCalculator
public class ParticleCollisionCalculator
Method Summary | |
---|---|
static void |
handleCollision(javax.vecmath.Vector3d velocity1ToPack,
javax.vecmath.Vector3d velocity2ToPack,
double m1,
double m2,
double coefficientOfRestitution)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void handleCollision(javax.vecmath.Vector3d velocity1ToPack, javax.vecmath.Vector3d velocity2ToPack, double m1, double m2, double coefficientOfRestitution)
velocity1ToPack
- velocity2ToPack
- m1
- m2
- coefficientOfRestitution
- Coefficient of restitution is always between 0 and 1
coefficientOfRestitution = 0 is a perfectly inelastic collision
coefficientOfRestitution = 1 is a perfectly elastic collision
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |