Package | Description |
---|---|
prefuse.util.force |
Utility classes providing a physical force simulation for layout and
animation.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractForce
Abstract base class for force functions in a force simulation.
|
class |
CircularWallForce
Uses a gravitational force model to act as a circular "wall".
|
class |
DragForce
Implements a viscosity/drag force to help stabilize items.
|
class |
GravitationalForce
Represents a constant gravitational force, like the pull of gravity
for an object on the Earth (F = mg).
|
class |
NBodyForce
Force function which computes an n-body force such as gravity,
anti-gravity, or the results of electric charges.
|
class |
SpringForce
Force function that computes the force acting on ForceItems due to a
given Spring.
|
class |
WallForce
Uses a gravitational force model to act as a "wall".
|
Modifier and Type | Method and Description |
---|---|
Force[] |
ForceSimulator.getForces()
Get an array of all the Force functions used in this simulator.
|
Modifier and Type | Method and Description |
---|---|
void |
ForceSimulator.addForce(Force f)
Add a new Force function to the simulator.
|
Copyright ? 2013 Regents of the University of California