Public Member Functions | Private Attributes | List of all members
dcel2d::HalfEdge Class Reference

#include <DCEL.h>

Public Member Functions

 HalfEdge ()
 HalfEdge class definition for use in a doubly connected edge list The half edge class represents one connection from the vertex it emanates from and pointing to the next vertex. It is the workhorse of the doubly connected edge list and contains all necessary pointers to enable completely traverse of the list. More...
 
 HalfEdge (Vertex *vertex, Face *face, HalfEdge *twin, HalfEdge *next, HalfEdge *last)
 
VertexgetTargetVertex () const
 
FacegetFace () const
 
HalfEdgegetTwinHalfEdge () const
 
HalfEdgegetNextHalfEdge () const
 
HalfEdgegetLastHalfEdge () const
 
void setTargetVertex (Vertex *vertex)
 
void setFace (Face *face)
 
void setTwinHalfEdge (HalfEdge *twin)
 
void setNextHalfEdge (HalfEdge *next)
 
void setLastHalfEdge (HalfEdge *last)
 

Private Attributes

Vertexm_targetVertex
 
Facem_face
 
HalfEdgem_twinHalfEdge
 
HalfEdgem_nextHalfEdge
 
HalfEdgem_lastHalfEdge
 

Detailed Description

Definition at line 128 of file DCEL.h.

Constructor & Destructor Documentation

dcel2d::HalfEdge::HalfEdge ( )
inline

HalfEdge class definition for use in a doubly connected edge list The half edge class represents one connection from the vertex it emanates from and pointing to the next vertex. It is the workhorse of the doubly connected edge list and contains all necessary pointers to enable completely traverse of the list.

Constructor

Definition at line 141 of file DCEL.h.

141  :
142  m_targetVertex(NULL),
143  m_face(NULL),
144  m_twinHalfEdge(NULL),
145  m_nextHalfEdge(NULL),
146  m_lastHalfEdge(NULL)
147  {}
HalfEdge * m_lastHalfEdge
Definition: DCEL.h:178
HalfEdge * m_nextHalfEdge
Definition: DCEL.h:177
Vertex * m_targetVertex
Definition: DCEL.h:174
Face * m_face
Definition: DCEL.h:175
HalfEdge * m_twinHalfEdge
Definition: DCEL.h:176
dcel2d::HalfEdge::HalfEdge ( Vertex vertex,
Face face,
HalfEdge twin,
HalfEdge next,
HalfEdge last 
)
inline

Definition at line 149 of file DCEL.h.

153  :
155  m_face(face),
156  m_twinHalfEdge(twin),
157  m_nextHalfEdge(next),
158  m_lastHalfEdge(last)
159  {}
HalfEdge * m_lastHalfEdge
Definition: DCEL.h:178
HalfEdge * m_nextHalfEdge
Definition: DCEL.h:177
Vertex * m_targetVertex
Definition: DCEL.h:174
Face * m_face
Definition: DCEL.h:175
HalfEdge * m_twinHalfEdge
Definition: DCEL.h:176
vertex reconstruction

Member Function Documentation

Face* dcel2d::HalfEdge::getFace ( ) const
inline

Definition at line 162 of file DCEL.h.

162 {return m_face;}
Face * m_face
Definition: DCEL.h:175
HalfEdge* dcel2d::HalfEdge::getLastHalfEdge ( ) const
inline

Definition at line 165 of file DCEL.h.

165 {return m_lastHalfEdge;}
HalfEdge * m_lastHalfEdge
Definition: DCEL.h:178
HalfEdge* dcel2d::HalfEdge::getNextHalfEdge ( ) const
inline

Definition at line 164 of file DCEL.h.

164 {return m_nextHalfEdge;}
HalfEdge * m_nextHalfEdge
Definition: DCEL.h:177
Vertex* dcel2d::HalfEdge::getTargetVertex ( ) const
inline

Definition at line 161 of file DCEL.h.

161 {return m_targetVertex;}
Vertex * m_targetVertex
Definition: DCEL.h:174
HalfEdge* dcel2d::HalfEdge::getTwinHalfEdge ( ) const
inline

Definition at line 163 of file DCEL.h.

163 {return m_twinHalfEdge;}
HalfEdge * m_twinHalfEdge
Definition: DCEL.h:176
void dcel2d::HalfEdge::setFace ( Face face)
inline

Definition at line 168 of file DCEL.h.

168 {m_face = face;}
Face * m_face
Definition: DCEL.h:175
void dcel2d::HalfEdge::setLastHalfEdge ( HalfEdge last)
inline

Definition at line 171 of file DCEL.h.

171 {m_lastHalfEdge = last;}
HalfEdge * m_lastHalfEdge
Definition: DCEL.h:178
void dcel2d::HalfEdge::setNextHalfEdge ( HalfEdge next)
inline

Definition at line 170 of file DCEL.h.

170 {m_nextHalfEdge = next;}
HalfEdge * m_nextHalfEdge
Definition: DCEL.h:177
void dcel2d::HalfEdge::setTargetVertex ( Vertex vertex)
inline

Definition at line 167 of file DCEL.h.

Vertex * m_targetVertex
Definition: DCEL.h:174
vertex reconstruction
void dcel2d::HalfEdge::setTwinHalfEdge ( HalfEdge twin)
inline

Definition at line 169 of file DCEL.h.

169 {m_twinHalfEdge = twin;}
HalfEdge * m_twinHalfEdge
Definition: DCEL.h:176

Member Data Documentation

Face* dcel2d::HalfEdge::m_face
private

Definition at line 175 of file DCEL.h.

HalfEdge* dcel2d::HalfEdge::m_lastHalfEdge
private

Definition at line 178 of file DCEL.h.

HalfEdge* dcel2d::HalfEdge::m_nextHalfEdge
private

Definition at line 177 of file DCEL.h.

Vertex* dcel2d::HalfEdge::m_targetVertex
private

Definition at line 174 of file DCEL.h.

HalfEdge* dcel2d::HalfEdge::m_twinHalfEdge
private

Definition at line 176 of file DCEL.h.


The documentation for this class was generated from the following file: