#include <eTess2.h>
Public Member Functions | |
eDual () | |
eHalfEdge * | Edge () const |
bool | IsInGrid () const |
Protected Member Functions | |
~eDual () | |
bool | Check (int type) |
void | Unlink (int type) |
Protected Attributes | |
int | ID |
tJUST_CONTROLLED_PTR< eHalfEdge > | edge |
Friends | |
class | eHalfEdge |
class | eGrid |
class | eFace |
class | ePoint |
Definition at line 54 of file eTess2.h.
eDual::~eDual | ( | ) | [protected] |
eHalfEdge* eDual::Edge | ( | ) | const [inline] |
Definition at line 64 of file eTess2.h.
References edge.
Referenced by ClampMovement(), eHalfEdge::FindPath(), eGrid::FindSurroundingFace(), Movable(), and ProcessWallsRecursive().
00064 {return edge;}
bool eDual::IsInGrid | ( | ) | const [inline] |
Definition at line 66 of file eTess2.h.
References ID.
Referenced by gCycle::DropWall(), and se_FindBestReplacement().
00066 {return ID >= 0;}
bool eDual::Check | ( | int | type | ) | [protected] |
Definition at line 243 of file eGrid.cpp.
References edge, ID, and tASSERT.
Referenced by eFace::Check(), and ePoint::Check().
00244 { 00245 if (type) 00246 { 00247 tASSERT(!edge || this == static_cast<eDual*>(edge->face)); 00248 } 00249 else 00250 { 00251 tASSERT(!edge || this == static_cast<eDual*>(edge->point)); 00252 } 00253 00254 tASSERT( ID < 0 || !edge || edge->ID>=0); 00255 00256 return true; 00257 }
void eDual::Unlink | ( | int | type | ) | [inline, protected] |
int eDual::ID [protected] |
Definition at line 73 of file eTess2.h.
Referenced by eGrid::AddFace(), eGrid::AddPoint(), Check(), eGrid::FindSurroundingFace(), IsInGrid(), eGrid::RemoveFace(), and eGrid::RemovePoint().
tJUST_CONTROLLED_PTR<eHalfEdge> eDual::edge [protected] |
Definition at line 74 of file eTess2.h.
Referenced by eGrid::AddFaceAll(), Check(), eFace::CorrectArea(), eFace::Create(), eGrid::DrawLine(), Edge(), eFace::Insideness(), eFace::IsInside(), eFace::Print(), ePoint::Replace(), eHalfEdge::Simplify(), eFace::Unlink(), ePoint::Unlink(), and ~eDual().