# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLPACS::CMoveSurfaceDesc Class Reference

Description of the contact of a collision against a chain. More...

#include <collision_surface_temp.h>

List of all members.

Public Methods

 CMoveSurfaceDesc ()
 CMoveSurfaceDesc (CRational64 t, CSurfaceIdent left, CSurfaceIdent right)
bool operator< (const CMoveSurfaceDesc &o) const
bool hasSurface (const CSurfaceIdent &surf)
 test if Left or Right == surf. More...

const CSurfaceIdentgetOtherSurface (const CSurfaceIdent &surf)
 Return Left if surf==Right, else return Right. More...


Public Attributes

CRational64 ContactTime
 This is the 128 bits rational float, when the movement reach this surface. More...

CSurfaceIdent LeftSurface
 To which chain we have collided. More...

CSurfaceIdent RightSurface
 To which chain we have collided. More...


Detailed Description

Description of the contact of a collision against a chain.

Author:
Lionel Berenguier , Nevrax France
Date:
2001

Definition at line 162 of file collision_surface_temp.h.


Constructor & Destructor Documentation

NLPACS::CMoveSurfaceDesc::CMoveSurfaceDesc   [inline]
 

Definition at line 172 of file collision_surface_temp.h.

Referenced by operator<.

NLPACS::CMoveSurfaceDesc::CMoveSurfaceDesc CRational64    t,
CSurfaceIdent    left,
CSurfaceIdent    right
[inline]
 

Definition at line 173 of file collision_surface_temp.h.

References ContactTime, LeftSurface, RightSurface, and t.


Member Function Documentation

const CSurfaceIdent& NLPACS::CMoveSurfaceDesc::getOtherSurface const CSurfaceIdent   surf [inline]
 

Return Left if surf==Right, else return Right.

Definition at line 186 of file collision_surface_temp.h.

References LeftSurface, and RightSurface.

bool NLPACS::CMoveSurfaceDesc::hasSurface const CSurfaceIdent   surf [inline]
 

test if Left or Right == surf.

Definition at line 180 of file collision_surface_temp.h.

References LeftSurface, and RightSurface.

bool NLPACS::CMoveSurfaceDesc::operator< const CMoveSurfaceDesc &    o const [inline]
 

Definition at line 174 of file collision_surface_temp.h.

References CMoveSurfaceDesc, and ContactTime.


Member Data Documentation

CRational64 NLPACS::CMoveSurfaceDesc::ContactTime
 

This is the 128 bits rational float, when the movement reach this surface.

Definition at line 166 of file collision_surface_temp.h.

Referenced by CMoveSurfaceDesc, and operator<.

CSurfaceIdent NLPACS::CMoveSurfaceDesc::LeftSurface
 

To which chain we have collided.

Definition at line 169 of file collision_surface_temp.h.

Referenced by CMoveSurfaceDesc, getOtherSurface, and hasSurface.

CSurfaceIdent NLPACS::CMoveSurfaceDesc::RightSurface
 

To which chain we have collided.

Definition at line 169 of file collision_surface_temp.h.

Referenced by CMoveSurfaceDesc, getOtherSurface, and hasSurface.


The documentation for this class was generated from the following file: