Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

physics::OBBCollisionModel::Moment Class Reference

Collaboration diagram for physics::OBBCollisionModel::Moment:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Moment ()
 ~Moment ()
bool operator== (const Moment &moment) const
bool equals (const Moment &moment, Real epsilon=consts::epsilon) const throw ()
void clear ()
void accumulate (const Moment &b)
base::Vector3 meanFromMoment () const
base::Vector3 meanFromAccum () const
base::Matrix3 covariance () const

Static Public Member Functions

void computeMoment (Moment &M, const gfx::Vector3 &p, const base::Vector3 &q, const base::Vector3 &r)
void computeMoment (base::array< Moment > &M, base::array< gfx::Triangle3 > &tris, Int firstTri, Int numTris)

Public Attributes

Real A
base::Vector3 m
base::Matrix3 s

Constructor & Destructor Documentation

physics::OBBCollisionModel::Moment::Moment  )  [inline]
 

Definition at line 63 of file OBBCollisionModel.

References clear().

physics::OBBCollisionModel::Moment::~Moment  )  [inline]
 

Definition at line 64 of file OBBCollisionModel.


Member Function Documentation

void physics::OBBCollisionModel::Moment::accumulate const Moment b  ) 
 

void physics::OBBCollisionModel::Moment::clear  ) 
 

Referenced by Moment().

void physics::OBBCollisionModel::Moment::computeMoment base::array< Moment > &  M,
base::array< gfx::Triangle3 > &  tris,
Int  firstTri,
Int  numTris
[static]
 

void physics::OBBCollisionModel::Moment::computeMoment Moment M,
const gfx::Vector3 &  p,
const base::Vector3 q,
const base::Vector3 r
[static]
 

base::Matrix3 physics::OBBCollisionModel::Moment::covariance  )  const
 

bool physics::OBBCollisionModel::Moment::equals const Moment moment,
Real  epsilon = consts::epsilon
const throw () [inline]
 

Definition at line 75 of file OBBCollisionModel.

References base::Matrix3::equals(), base::Vector3::equals(), and base::equals().

base::Vector3 physics::OBBCollisionModel::Moment::meanFromAccum  )  const [inline]
 

Definition at line 84 of file OBBCollisionModel.

base::Vector3 physics::OBBCollisionModel::Moment::meanFromMoment  )  const [inline]
 

Definition at line 83 of file OBBCollisionModel.

bool physics::OBBCollisionModel::Moment::operator== const Moment moment  )  const [inline]
 

Definition at line 70 of file OBBCollisionModel.

References A, m, and s.


Member Data Documentation

Real physics::OBBCollisionModel::Moment::A
 

Definition at line 66 of file OBBCollisionModel.

Referenced by operator==().

base::Vector3 physics::OBBCollisionModel::Moment::m
 

Definition at line 67 of file OBBCollisionModel.

Referenced by operator==().

base::Matrix3 physics::OBBCollisionModel::Moment::s
 

Definition at line 68 of file OBBCollisionModel.

Referenced by operator==().


The documentation for this class was generated from the following file:
Generated on Thu Jul 29 16:40:48 2004 for OpenSim by doxygen 1.3.6