eDual Class Reference

#include <eTess2.h>

Inheritance diagram for eDual:

Inheritance graph
[legend]
Collaboration diagram for eDual:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 eDual ()
eHalfEdgeEdge () const
bool IsInGrid () const

Protected Member Functions

 ~eDual ()
bool Check (int type)
void Unlink (int type)

Protected Attributes

int ID
tJUST_CONTROLLED_PTR< eHalfEdgeedge

Friends

class eHalfEdge
class eGrid
class eFace
class ePoint


Detailed Description

Definition at line 54 of file eTess2.h.


Constructor & Destructor Documentation

eDual::eDual (  )  [inline]

Definition at line 406 of file eTess2.h.

00406 :ID(-1),edge(NULL){}

eDual::~eDual (  )  [protected]

Definition at line 238 of file eGrid.cpp.

References edge, and tASSERT.

00239 {
00240     tASSERT(!edge);
00241 }


Member Function Documentation

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;}

Here is the caller graph for this function:

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;}

Here is the caller graph for this function:

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 }

Here is the caller graph for this function:

void eDual::Unlink ( int  type  )  [inline, protected]

Definition at line 259 of file eGrid.cpp.

00260 {
00261 
00262 }


Friends And Related Function Documentation

friend class eHalfEdge [friend]

Definition at line 55 of file eTess2.h.

friend class eGrid [friend]

Definition at line 56 of file eTess2.h.

friend class eFace [friend]

Definition at line 57 of file eTess2.h.

friend class ePoint [friend]

Definition at line 58 of file eTess2.h.


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Sat Mar 15 23:22:20 2008 for Armagetron Advanced by  doxygen 1.5.4