|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use VerletSpring | |
---|---|
toxi.physics |
Uses of VerletSpring in toxi.physics |
---|
Subclasses of VerletSpring in toxi.physics | |
---|---|
class |
VerletConstrainedSpring
Implements a spring whose maximum relaxation distance at every time step can be limited to achieve better (if physically incorrect) stability of the whole spring system. |
class |
VerletMinDistanceSpring
Implements a string which will only enforce its rest length if the current distance is less than its rest length. |
Fields in toxi.physics with type parameters of type VerletSpring | |
---|---|
java.util.List<VerletSpring> |
ParticleString.links
|
java.util.List<VerletSpring> |
VerletPhysics.springs
List of spring/sticks connectors |
Methods in toxi.physics that return VerletSpring | |
---|---|
VerletSpring |
VerletPhysics.getSpring(toxi.geom.Vec3D a,
toxi.geom.Vec3D b)
Attempts to find the spring element between the 2 particles supplied |
VerletSpring |
VerletSpring.lockA(boolean s)
(Un)Locks the 1st end point of the spring. |
VerletSpring |
VerletSpring.lockB(boolean s)
(Un)Locks the 2nd end point of the spring |
VerletSpring |
VerletSpring.setRestLength(float len)
|
VerletSpring |
VerletSpring.setStrength(float strength)
|
Methods in toxi.physics with parameters of type VerletSpring | |
---|---|
VerletPhysics |
VerletPhysics.addSpring(VerletSpring s)
Adds a spring connector |
boolean |
VerletPhysics.removeSpring(VerletSpring s)
Removes a spring connector from the simulation instance. |
boolean |
VerletPhysics.removeSpringElements(VerletSpring s)
Removes a spring connector and its both end point particles from the simulation |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |