|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Force | |
---|---|
org.gicentre.utils.network.traer.physics | Physics library for use with Processing. |
Uses of Force in org.gicentre.utils.network.traer.physics |
---|
Classes in org.gicentre.utils.network.traer.physics that implement Force | |
---|---|
class |
AbstractForce
A skeletal implementation of Force covering the methods concerned with the on/off
state. |
class |
Attraction
This class implements TwoBodyForce to represent an inverse-square law force with a force constant and minimal distance. |
class |
Spring
Class for representing a physical spring by extending TwoBodyForce to calculate
the force with a spring constant (Spring.ks ), damping factor (Spring.d ), and an
ideal length (Spring.l ). |
class |
TargetedForce
A Force that has its subject Particle s already specified, and hence does
not support the apply(Particle) method. |
class |
TwoBodyForce
TwoBodyForce is Force between two specified Particle s, which extends
TargetedForce and simplifies implementation of custom Forces. |
class |
UniversalForce
A Force that is applied to Particle s at the user's discretion, and hence
does not support the apply() method. |
Methods in org.gicentre.utils.network.traer.physics that return Force | |
---|---|
Force |
Force.apply()
Should apply this Force. |
Force |
Force.turnOff()
Should turn the Force off. |
Force |
Force.turnOn()
Should turn the Force on. |
Force |
Force.turnOn(boolean isOn)
Should set the Force to the argument isOn . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |