#include <collision_surface_temp.h>
Nevrax France
Definition at line 162 of file collision_surface_temp.h.
Public Member Functions | |
| CMoveSurfaceDesc (CRational64 t, CSurfaceIdent left, CSurfaceIdent right) | |
| CMoveSurfaceDesc () | |
| const CSurfaceIdent & | getOtherSurface (const CSurfaceIdent &surf) |
| Return Left if surf==Right, else return Right. | |
| bool | hasSurface (const CSurfaceIdent &surf) |
| test if Left or Right == surf. | |
| bool | operator< (const CMoveSurfaceDesc &o) const |
Data Fields | |
| uint16 | ChainId |
| Chain Id of the exterior edge. | |
| CRational64 | ContactTime |
| This is the 128 bits rational float, when the movement reach this surface. | |
| bool | ExteriorEdge |
| Is it an interface between exterior and interior. | |
| CSurfaceIdent | LeftSurface |
| To which chain we have collided. | |
| bool | MovementSens |
| true if Dot product between EdgeCollide Norm and Movement is >=0. | |
| CSurfaceIdent | RightSurface |
| To which chain we have collided. | |
|
|
Definition at line 181 of file collision_surface_temp.h.
00181 : ExteriorEdge(false) {} |
|
||||||||||||||||
|
Definition at line 182 of file collision_surface_temp.h. References t.
00182 : ContactTime(t), LeftSurface(left), RightSurface(right), ExteriorEdge(false) {} |
|
|
Return Left if surf==Right, else return Right.
Definition at line 195 of file collision_surface_temp.h. Referenced by NLPACS::CGlobalRetriever::testMovementWithCollisionChains().
00196 {
00197 if(RightSurface==surf)
00198 return LeftSurface;
00199 else
00200 return RightSurface;
00201 }
|
|
|
test if Left or Right == surf.
Definition at line 189 of file collision_surface_temp.h. Referenced by NLPACS::CGlobalRetriever::testMovementWithCollisionChains().
00190 {
00191 return LeftSurface==surf || RightSurface==surf;
00192 }
|
|
|
Definition at line 183 of file collision_surface_temp.h. References ContactTime.
00184 {
00185 return ContactTime<o.ContactTime;
00186 }
|
|
|
Chain Id of the exterior edge.
Definition at line 178 of file collision_surface_temp.h. Referenced by NLPACS::CGlobalRetriever::testMovementWithCollisionChains(). |
|
|
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 operator<(), and NLPACS::CGlobalRetriever::testMovementWithCollisionChains(). |
|
|
Is it an interface between exterior and interior.
Definition at line 172 of file collision_surface_temp.h. Referenced by NLPACS::CGlobalRetriever::testMovementWithCollisionChains(). |
|
|
To which chain we have collided.
Definition at line 169 of file collision_surface_temp.h. Referenced by NLPACS::CGlobalRetriever::testMovementWithCollisionChains(). |
|
|
true if Dot product between EdgeCollide Norm and Movement is >=0.
Definition at line 175 of file collision_surface_temp.h. Referenced by NLPACS::CGlobalRetriever::testMovementWithCollisionChains(). |
|
|
To which chain we have collided.
Definition at line 169 of file collision_surface_temp.h. Referenced by NLPACS::CGlobalRetriever::testMovementWithCollisionChains(). |
1.3.6