moab
|
Definition at line 55 of file BSPTreePoly.cpp.
moab::BSPTreePoly::Edge::Edge | ( | Vertex * | vstart, |
Vertex * | vend | ||
) | [inline] |
Definition at line 63 of file BSPTreePoly.cpp.
: forwardPtr(0), reversePtr(0) #ifdef DEBUG_IDS , id(nextID++) #endif { startPtr = new VertexUse( this, vstart ); endPtr = new VertexUse( this, vend ); }
Definition at line 312 of file BSPTreePoly.cpp.
{ delete startPtr; delete endPtr; delete forwardPtr; delete reversePtr; }
void moab::BSPTreePoly::Edge::add_to_vertex | ( | BSPTreePoly::Vertex * | vtx_ptr | ) |
BSPTreePoly::Vertex* moab::BSPTreePoly::Edge::common | ( | BSPTreePoly::Edge * | eother | ) | const [inline] |
BSPTreePoly::Vertex* moab::BSPTreePoly::Edge::end | ( | ) | const [inline] |
Definition at line 77 of file BSPTreePoly.cpp.
BSPTreePoly::Face* moab::BSPTreePoly::Edge::forward | ( | ) | const [inline] |
Definition at line 80 of file BSPTreePoly.cpp.
{ return forwardPtr ? forwardPtr->facePtr : 0; }
BSPTreePoly::Edge* moab::BSPTreePoly::Edge::next | ( | BSPTreePoly::Vertex * | about | ) | const [inline] |
BSPTreePoly::Edge* moab::BSPTreePoly::Edge::next | ( | BSPTreePoly::Face * | about | ) | const [inline] |
BSPTreePoly::VertexUse* moab::BSPTreePoly::Edge::other | ( | BSPTreePoly::VertexUse * | vuse | ) | const [inline] |
BSPTreePoly::EdgeUse* moab::BSPTreePoly::Edge::other | ( | BSPTreePoly::EdgeUse * | vuse | ) | const [inline] |
Definition at line 101 of file BSPTreePoly.cpp.
{ return vuse == forwardPtr ? reversePtr : vuse == reversePtr ? forwardPtr : 0; }
BSPTreePoly::Vertex* moab::BSPTreePoly::Edge::other | ( | BSPTreePoly::Vertex * | vtx | ) | const [inline] |
BSPTreePoly::Edge* moab::BSPTreePoly::Edge::prev | ( | BSPTreePoly::Vertex * | about | ) | const [inline] |
BSPTreePoly::Edge* moab::BSPTreePoly::Edge::prev | ( | BSPTreePoly::Face * | about | ) | const [inline] |
void moab::BSPTreePoly::Edge::remove_from_face | ( | BSPTreePoly::Face *& | face_ptr | ) |
void moab::BSPTreePoly::Edge::remove_from_vertex | ( | BSPTreePoly::Vertex *& | vtx_ptr | ) |
BSPTreePoly::Face* moab::BSPTreePoly::Edge::reverse | ( | ) | const [inline] |
Definition at line 82 of file BSPTreePoly.cpp.
{ return reversePtr ? reversePtr->facePtr : 0; }
int moab::BSPTreePoly::Edge::sense | ( | BSPTreePoly::Face * | face | ) | const |
Definition at line 320 of file BSPTreePoly.cpp.
{ if (forwardPtr && forwardPtr->facePtr == face) return 1; else if (reversePtr && reversePtr->facePtr == face) return -1; else return 0; }
BSPTreePoly::Vertex* moab::BSPTreePoly::Edge::start | ( | ) | const [inline] |
Definition at line 75 of file BSPTreePoly.cpp.
BSPTreePoly::VertexUse* moab::BSPTreePoly::Edge::use | ( | BSPTreePoly::Vertex * | vtx | ) | const [inline] |
BSPTreePoly::EdgeUse* moab::BSPTreePoly::Edge::use | ( | BSPTreePoly::Face * | face | ) | const [inline] |
Definition at line 92 of file BSPTreePoly.cpp.
{ return (face == forwardPtr->facePtr) ? forwardPtr : (face == reversePtr->facePtr) ? reversePtr : 0; }
Definition at line 56 of file BSPTreePoly.cpp.
Definition at line 57 of file BSPTreePoly.cpp.
Definition at line 57 of file BSPTreePoly.cpp.
Definition at line 56 of file BSPTreePoly.cpp.