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

MassParticleState Class Reference

#include <massparticle.h>

Collaboration diagram for MassParticleState:

Collaboration graph
[legend]
List of all members.

Detailed Description

State data for a mass particle object.

Author:
Mattias Jansson (mattias@realityrift.com)


Public Member Functions

 MassParticleState ()
 MassParticleState (const Vector3d &rkForce, float fMass, float fInvMass)
 MassParticleState (const MassParticleState &rkState)
bool operator< (const MassParticleState &rkState) const
bool operator== (const MassParticleState &rkState) const

Public Attributes

Vector3d m_kForce
float m_fMass
float m_fInvMass


Constructor & Destructor Documentation

MassParticleState  )  [inline]
 

MassParticleState const Vector3d rkForce,
float  fMass,
float  fInvMass
[inline]
 

Parameters:
rkForce Applied force
fMass Mass
fInvMass Inverse mass

MassParticleState const MassParticleState rkState  )  [inline]
 

Parameters:
rkState Reference state object to copy


Member Function Documentation

bool operator< const MassParticleState rkState  )  const [inline]
 

Needed for STL exports of UDTs under Win32

Parameters:
rkState State data to compare with
Returns:
false

bool operator== const MassParticleState rkState  )  const [inline]
 

Query if states are equal

Parameters:
rkState State data to compare with
Returns:
true if all elements are equal, false if not


Member Data Documentation

Vector3d m_kForce
 

Applied force

float m_fMass
 

Mass of particle

float m_fInvMass
 

Inverted mass, precalculated


The documentation for this class was generated from the following file:
Generated on Wed Jan 21 14:21:11 2004 for NeoEngine by doxygen 1.3.5