|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jinx.physics.spring.Spring net.jinx.physics.spring.DampedSpring
public class DampedSpring
Constructor Summary | |
---|---|
DampedSpring(float k,
float b,
PhysicalObject p1,
PhysicalObject p2)
|
|
DampedSpring(float k,
float b,
PhysicalObject p1,
Vector p2)
|
Method Summary | |
---|---|
protected void |
applyForce(PhysicalObject obj)
|
protected float |
getDampingConstant()
|
Methods inherited from class net.jinx.physics.spring.Spring |
---|
destroy, getNodeOne, getNodeTwo, getPositionOne, getPositionTwo, getSpringConstant, getVelocityOne, getVelocityTwo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DampedSpring(float k, float b, PhysicalObject p1, PhysicalObject p2)
public DampedSpring(float k, float b, PhysicalObject p1, Vector p2)
Method Detail |
---|
protected float getDampingConstant()
protected void applyForce(PhysicalObject obj)
applyForce
in class Spring
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |