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

- Packages that use Attraction
  Package | Description
  --- | ---
  org.gicentre.utils.network.traer.physics | Physics library for use with Processing.

- - ### Uses of Attraction in org.gicentre.utils.network.traer.physics

    Methods in org.gicentre.utils.network.traer.physics that return Attraction
    Modifier and Type | Method and Description
    --- | ---
    `Attraction` | ParticleSystem.`getAttraction(int i)` Provides the attraction at the given position in the collection of attractions stored in this particle system.
    `Attraction` | ParticleSystem.`makeAttraction(Particle a, Particle b, float strength, float minDistance)` Creates an attractive force between the given particles with the given strength.
    `Attraction` | ParticleSystem.`removeAttraction(int i)` Removes the attraction at the given position in the collection of attractions stored in this particle system.
    `Attraction` | Attraction.`setMinimumDistance(float d)` Sets the minimum separation distance above which the attraction is applied.
    `Attraction` | Attraction.`setStrength(float k)` Sets the strength of this Attraction.

    Methods in org.gicentre.utils.network.traer.physics that return types with arguments of type Attraction
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Collection<Attraction>` | ParticleSystem.`attractions()` Deprecated. Replace in favour of the more consistently named getAttractions().
    `java.util.Collection<Attraction>` | ParticleSystem.`getAttractions()` Reports a collection of the attractions currently defined as part of this particle system.

    Methods in org.gicentre.utils.network.traer.physics with parameters of type Attraction
    Modifier and Type | Method and Description
    --- | ---
    `ParticleSystem` | ParticleSystem.`removeAttraction(Attraction attraction)` Removes the given attraction from the collection of attractions stored in this particle system if it exists.