|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Spring | |
---|---|
org.gicentre.utils.network.traer.physics | Physics library for use with Processing. |
Uses of Spring in org.gicentre.utils.network.traer.physics |
---|
Methods in org.gicentre.utils.network.traer.physics that return Spring | |
---|---|
Spring |
ParticleSystem.getSpring(int i)
Provides the spring at the given position in the collection of springs stored in this particle system. |
Spring |
ParticleSystem.makeSpring(Particle a,
Particle b,
float strength,
float damping,
float restLength)
Creates a spring between the given particles with the given strength, damping and reset length. |
Spring |
ParticleSystem.removeSpring(int i)
Removes the spring at the given position in the collection of springs stored in this particle system. |
Spring |
Spring.setDamping(float d)
Sets the damping constant of the spring d . |
Spring |
Spring.setRestLength(float l)
Sets the ideal length of the spring. |
Spring |
Spring.setStrength(float ks)
Sets the strength of the spring ks ; must be greater than 0. |
Methods in org.gicentre.utils.network.traer.physics that return types with arguments of type Spring | |
---|---|
java.util.Collection<Spring> |
ParticleSystem.getSprings()
Reports a collection of the springs currently defined as part of this particle system. |
java.util.Collection<Spring> |
ParticleSystem.springs()
Deprecated. Replace in favour of the more consistently named getSprings(). |
Methods in org.gicentre.utils.network.traer.physics with parameters of type Spring | |
---|---|
ParticleSystem |
ParticleSystem.removeSpring(Spring spring)
Removes the given spring from the collection of springs stored in this particle system if it exists. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |