library of assembled shared sources |
http://lass.cocamware.com |
#include <quad_edge.h>
Data Structures | |
class | Edge |
Public Types | |
typedef EdgeHandle | TEdgeHandle |
Public Member Functions | |
QuadEdge (bool makeConstrained=false) | |
QuadEdge (const QuadEdge &other) | |
~QuadEdge () | |
void | detach () |
QuadEdge & | operator= (const QuadEdge &other) |
void | edgeConstrain () |
void | edgeDeconstrain () |
void | faceConstrain () |
void | faceDeconstrain () |
bool | isConstrained () const |
bool | isEdgeConstrained () const |
bool | isFaceConstrained () const |
Edge * | edges () |
Static Public Member Functions | |
static void | splice (Edge *a, Edge *b) |
Data Fields | |
bool | deleted |
Private Member Functions | |
void | initEdges () |
void | copyEdges (const QuadEdge &other) |
Private Attributes | |
Edge | edges_ [4] |
bool | edgeConstrained_ |
the edge is forced into the mesh, stay off! | |
bool | faceConstrained_ |
the faces adjacent the edge have their handles set differently, cannot do stuff with the edge! |
Definition at line 55 of file quad_edge.h.
typedef EdgeHandle lass::spat::QuadEdge< EdgeHandle >::TEdgeHandle |
Definition at line 58 of file quad_edge.h.
lass::spat::QuadEdge< EdgeHandle >::QuadEdge | ( | bool | makeConstrained = false |
) | [inline] |
Definition at line 138 of file quad_edge.h.
References lass::spat::QuadEdge< EdgeHandle >::deleted, lass::spat::QuadEdge< EdgeHandle >::edgeConstrained_, lass::spat::QuadEdge< EdgeHandle >::faceConstrained_, and lass::spat::QuadEdge< EdgeHandle >::initEdges().
lass::spat::QuadEdge< EdgeHandle >::QuadEdge | ( | const QuadEdge< EdgeHandle > & | other | ) | [inline] |
Definition at line 146 of file quad_edge.h.
References lass::spat::QuadEdge< EdgeHandle >::copyEdges(), and lass::spat::QuadEdge< EdgeHandle >::initEdges().
lass::spat::QuadEdge< EdgeHandle >::~QuadEdge | ( | ) | [inline] |
Definition at line 162 of file quad_edge.h.
References lass::spat::QuadEdge< EdgeHandle >::faceConstrained_, and LASS_ASSERT.
void lass::spat::QuadEdge< EdgeHandle >::detach | ( | ) | [inline] |
Definition at line 168 of file quad_edge.h.
References lass::spat::QuadEdge< EdgeHandle >::edges_, lass::spat::QuadEdge< EdgeHandle >::faceConstrained_, LASS_ASSERT, lass::spat::QuadEdge< EdgeHandle >::Edge::oPrev(), lass::spat::QuadEdge< EdgeHandle >::splice(), and lass::spat::QuadEdge< EdgeHandle >::Edge::sym().
QuadEdge< EdgeHandle > & lass::spat::QuadEdge< EdgeHandle >::operator= | ( | const QuadEdge< EdgeHandle > & | other | ) | [inline] |
Definition at line 155 of file quad_edge.h.
References lass::spat::QuadEdge< EdgeHandle >::copyEdges(), and lass::spat::QuadEdge< EdgeHandle >::deleted.
void lass::spat::QuadEdge< EdgeHandle >::edgeConstrain | ( | ) | [inline] |
Definition at line 194 of file quad_edge.h.
References lass::spat::QuadEdge< EdgeHandle >::edgeConstrained_.
Referenced by lass::spat::PlanarMesh::insertEdge(), and lass::spat::PlanarMesh::splitEdge().
void lass::spat::QuadEdge< EdgeHandle >::edgeDeconstrain | ( | ) | [inline] |
Definition at line 198 of file quad_edge.h.
References lass::spat::QuadEdge< EdgeHandle >::edgeConstrained_.
Referenced by lass::spat::PlanarMesh::gcDeleteEdge().
void lass::spat::QuadEdge< EdgeHandle >::faceConstrain | ( | ) | [inline] |
Definition at line 202 of file quad_edge.h.
References lass::spat::QuadEdge< EdgeHandle >::faceConstrained_.
Referenced by lass::spat::PlanarMesh::setFaceHandle().
void lass::spat::QuadEdge< EdgeHandle >::faceDeconstrain | ( | ) | [inline] |
Definition at line 206 of file quad_edge.h.
References lass::spat::QuadEdge< EdgeHandle >::faceConstrained_.
Referenced by lass::spat::PlanarMesh::setFaceHandle().
bool lass::spat::QuadEdge< EdgeHandle >::isConstrained | ( | ) | const [inline] |
Definition at line 210 of file quad_edge.h.
References lass::spat::QuadEdge< EdgeHandle >::edgeConstrained_, and lass::spat::QuadEdge< EdgeHandle >::faceConstrained_.
Referenced by lass::spat::QuadEdge< EdgeHandle >::Edge::isConstrained().
bool lass::spat::QuadEdge< EdgeHandle >::isEdgeConstrained | ( | ) | const [inline] |
Definition at line 214 of file quad_edge.h.
References lass::spat::QuadEdge< EdgeHandle >::edgeConstrained_.
Referenced by lass::spat::QuadEdge< EdgeHandle >::Edge::isEdgeConstrained().
bool lass::spat::QuadEdge< EdgeHandle >::isFaceConstrained | ( | ) | const [inline] |
Definition at line 218 of file quad_edge.h.
References lass::spat::QuadEdge< EdgeHandle >::faceConstrained_.
Referenced by lass::spat::QuadEdge< EdgeHandle >::Edge::isFaceConstrained().
QuadEdge< EdgeHandle >::Edge * lass::spat::QuadEdge< EdgeHandle >::edges | ( | ) | [inline] |
Definition at line 222 of file quad_edge.h.
References lass::spat::QuadEdge< EdgeHandle >::edges_.
Referenced by lass::spat::PlanarMesh::forAllFacesCached(), and lass::spat::PlanarMesh::makeEmptyEdge().
void lass::spat::QuadEdge< EdgeHandle >::splice | ( | Edge * | a, | |
Edge * | b | |||
) | [inline, static] |
Definition at line 178 of file quad_edge.h.
References lass::spat::QuadEdge< EdgeHandle >::Edge::next_, lass::spat::QuadEdge< EdgeHandle >::Edge::oNext(), and lass::spat::QuadEdge< EdgeHandle >::Edge::rot().
Referenced by lass::spat::PlanarMesh::connect(), lass::spat::PlanarMesh::deleteEdge(), lass::spat::QuadEdge< EdgeHandle >::detach(), lass::spat::PlanarMesh::gcDeleteEdge(), lass::spat::PlanarMesh::init4(), lass::spat::PlanarMesh::insertSite(), lass::spat::PlanarMesh::PlanarMesh(), lass::spat::PlanarMesh::splitEdge(), and lass::spat::PlanarMesh::swap().
void lass::spat::QuadEdge< EdgeHandle >::initEdges | ( | ) | [inline, private] |
Definition at line 277 of file quad_edge.h.
References lass::spat::QuadEdge< EdgeHandle >::edges_, and lass::spat::QuadEdge< EdgeHandle >::Edge::next_.
Referenced by lass::spat::QuadEdge< EdgeHandle >::QuadEdge().
void lass::spat::QuadEdge< EdgeHandle >::copyEdges | ( | const QuadEdge< EdgeHandle > & | other | ) | [inline, private] |
Definition at line 287 of file quad_edge.h.
References lass::spat::QuadEdge< EdgeHandle >::Edge::edgeHandle_, and lass::spat::QuadEdge< EdgeHandle >::edges_.
Referenced by lass::spat::QuadEdge< EdgeHandle >::operator=(), and lass::spat::QuadEdge< EdgeHandle >::QuadEdge().
Edge lass::spat::QuadEdge< EdgeHandle >::edges_[4] [private] |
Definition at line 130 of file quad_edge.h.
Referenced by lass::spat::QuadEdge< EdgeHandle >::copyEdges(), lass::spat::QuadEdge< EdgeHandle >::detach(), lass::spat::QuadEdge< EdgeHandle >::edges(), and lass::spat::QuadEdge< EdgeHandle >::initEdges().
bool lass::spat::QuadEdge< EdgeHandle >::edgeConstrained_ [private] |
the edge is forced into the mesh, stay off!
Definition at line 131 of file quad_edge.h.
Referenced by lass::spat::QuadEdge< EdgeHandle >::edgeConstrain(), lass::spat::QuadEdge< EdgeHandle >::edgeDeconstrain(), lass::spat::QuadEdge< EdgeHandle >::isConstrained(), lass::spat::QuadEdge< EdgeHandle >::isEdgeConstrained(), and lass::spat::QuadEdge< EdgeHandle >::QuadEdge().
bool lass::spat::QuadEdge< EdgeHandle >::faceConstrained_ [private] |
the faces adjacent the edge have their handles set differently, cannot do stuff with the edge!
Definition at line 132 of file quad_edge.h.
Referenced by lass::spat::QuadEdge< EdgeHandle >::detach(), lass::spat::QuadEdge< EdgeHandle >::faceConstrain(), lass::spat::QuadEdge< EdgeHandle >::faceDeconstrain(), lass::spat::QuadEdge< EdgeHandle >::isConstrained(), lass::spat::QuadEdge< EdgeHandle >::isFaceConstrained(), lass::spat::QuadEdge< EdgeHandle >::QuadEdge(), and lass::spat::QuadEdge< EdgeHandle >::~QuadEdge().
bool lass::spat::QuadEdge< EdgeHandle >::deleted |
Definition at line 134 of file quad_edge.h.
Referenced by lass::spat::PlanarMesh::forAllFacesCached(), lass::spat::PlanarMesh::forAllPrimaryUndirectedEdgesCached(), lass::spat::QuadEdge< EdgeHandle >::operator=(), and lass::spat::QuadEdge< EdgeHandle >::QuadEdge().
Generated on Mon Nov 10 14:22:15 2008 for Library of Assembled Shared Sources by 1.5.7.1 |