opal::Mass Class Reference

#include <Mass.h>

List of all members.

Public Member Functions

 Mass ()

Public Attributes

real mass
Vec3r center
Matrix44r inertia


Detailed Description

Definition at line 39 of file Mass.h.


Constructor & Destructor Documentation

opal::Mass::Mass  )  [inline]
 

Default values are set.

Definition at line 43 of file Mass.h.

References center, inertia, opal::Matrix44r::makeIdentity(), and mass.


Member Data Documentation

Vec3r opal::Mass::center
 

Center of gravity position in body frame (x,y,z). Default is (0,0,0)

Definition at line 59 of file Mass.h.

Referenced by Mass(), and opal::ODESolid::setMass().

Matrix44r opal::Mass::inertia
 

3x3 inertia tensor in body frame, about POR Default is inertia of a box

Definition at line 63 of file Mass.h.

Referenced by Mass(), and opal::ODESolid::setMass().

real opal::Mass::mass
 

Total mass of the rigid body Default is 1

Definition at line 55 of file Mass.h.

Referenced by Mass(), and opal::ODESolid::setMass().


The documentation for this class was generated from the following file:
Generated on Tue May 16 17:49:56 2006 for OPAL by  doxygen 1.4.6-NO