# 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::CCollisionChain Class Reference

Temp collision data used during tryMove(). More...

#include <collision_surface_temp.h>

List of all members.

Public Methods

 CCollisionChain ()
bool sameSurfacesThan (const CCollisionChain &o) const
 test if 2 CCollisionChain have same surface neighbors. More...

bool hasSurface (const CSurfaceIdent &surf) const
 test if Left or Right == surf. More...

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


Public Attributes

uint32 FirstEdgeCollide
 First edgeCollideNode in the CCollisionSurfaceTemp allocator. 0xFFFFFFFF if none. This is a List of edgeCollide. More...

CSurfaceIdent LeftSurface
 The Left/Right surface next this chain. More...

CSurfaceIdent RightSurface
 The Left/Right surface next this chain. More...

uint16 ChainId
 the id in the local retriever which generate this chain (temp). More...

bool Tested
 In the algorithm, this chain has been tested??? More...

bool ExteriorEdge
 If the chain is an exterior edge. More...


Detailed Description

Temp collision data used during tryMove().

Author:
Lionel Berenguier , Nevrax France
Date:
2001

Definition at line 66 of file collision_surface_temp.h.


Constructor & Destructor Documentation

NLPACS::CCollisionChain::CCollisionChain   [inline]
 

Definition at line 81 of file collision_surface_temp.h.

References ExteriorEdge, FirstEdgeCollide, and Tested.

Referenced by sameSurfacesThan.


Member Function Documentation

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

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

Definition at line 103 of file collision_surface_temp.h.

References LeftSurface, and RightSurface.

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

test if Left or Right == surf.

Definition at line 97 of file collision_surface_temp.h.

References LeftSurface, and RightSurface.

bool NLPACS::CCollisionChain::sameSurfacesThan const CCollisionChain &    o const [inline]
 

test if 2 CCollisionChain have same surface neighbors.

Definition at line 90 of file collision_surface_temp.h.

References CCollisionChain, LeftSurface, and RightSurface.


Member Data Documentation

uint16 NLPACS::CCollisionChain::ChainId
 

the id in the local retriever which generate this chain (temp).

Definition at line 74 of file collision_surface_temp.h.

bool NLPACS::CCollisionChain::ExteriorEdge
 

If the chain is an exterior edge.

Definition at line 78 of file collision_surface_temp.h.

Referenced by CCollisionChain.

uint32 NLPACS::CCollisionChain::FirstEdgeCollide
 

First edgeCollideNode in the CCollisionSurfaceTemp allocator. 0xFFFFFFFF if none. This is a List of edgeCollide.

Definition at line 70 of file collision_surface_temp.h.

Referenced by CCollisionChain.

CSurfaceIdent NLPACS::CCollisionChain::LeftSurface
 

The Left/Right surface next this chain.

Definition at line 72 of file collision_surface_temp.h.

Referenced by getOtherSurface, hasSurface, and sameSurfacesThan.

CSurfaceIdent NLPACS::CCollisionChain::RightSurface
 

The Left/Right surface next this chain.

Definition at line 72 of file collision_surface_temp.h.

Referenced by getOtherSurface, hasSurface, and sameSurfacesThan.

bool NLPACS::CCollisionChain::Tested
 

In the algorithm, this chain has been tested???

Definition at line 76 of file collision_surface_temp.h.

Referenced by CCollisionChain.


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