## Uses of Class
org.gicentre.utils.network.traer.physics.Spring

- Packages that use Spring
  Package | Description
  --- | ---
  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
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `ParticleSystem` | ParticleSystem.`removeSpring(Spring spring)` Removes the given spring from the collection of springs stored in this particle system if it exists.