Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.j3d.physics
Interface RigidBody

All Known Implementing Classes:
  Plane, Sphere

    public interface RigidBody

The RigidBody class stores state information for a simulated object. This includes location, rotation, linear and angular momentum and the corresponding rates, linear and angular velocity, force, and torque.

Author:
  Mike Murray

Nested Class Summary
`static class` | `RigidBody.State`

Method Summary
`void` | `draw(Camera c, Graphics g, double ox, double oy, double scale)`
`RigidBody.State` | `getState()`
`Vector[]` | `intersect(RigidBody b)` Performs intersection calculations for this RigidBody object and the specified RigidBody object.
`void` | `updateModel()`

Method Detail

### intersect

    Vector[] intersect(RigidBody b)

  Performs intersection calculations for this RigidBody object and the specified RigidBody object.

  Returns:
    {intersection point, normal to intersection} or a zero length array if there is no intersection.

### draw

    void draw(Camera c,
              Graphics g,
              double ox,
              double oy,
              double scale)

### updateModel

    void updateModel()

### getState

    RigidBody.State getState()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD