CHalfEdge Base class of all kinds of halfedges. More...
#include <HalfEdge.h>
Public Member Functions | |
CHalfEdge () | |
~CHalfEdge () | |
CEdge *& | edge () |
CVertex *& | vertex () |
CVertex *& | target () |
CVertex *& | source () |
CHalfEdge *& | he_prev () |
CHalfEdge *& | he_next () |
CHalfEdge *& | he_sym () |
CFace *& | face () |
CHalfEdge * | ccw_rotate_about_target () |
CHalfEdge * | clw_rotate_about_target () |
CHalfEdge * | ccw_rotate_about_source () |
CHalfEdge * | clw_rotate_about_source () |
std::string & | string () |
void | _to_string () |
void | _from_string () |
Protected Attributes | |
CEdge * | m_edge |
CFace * | m_face |
CVertex * | m_vertex |
CHalfEdge * | m_prev |
CHalfEdge * | m_next |
std::string | m_string |
CHalfEdge Base class of all kinds of halfedges.
Definition at line 25 of file HalfEdge.h.
MeshLib::CHalfEdge::CHalfEdge | ( | ) | [inline] |
MeshLib::CHalfEdge::~CHalfEdge | ( | ) | [inline] |
void MeshLib::CHalfEdge::_from_string | ( | ) | [inline] |
Read traits from string.
Definition at line 73 of file HalfEdge.h.
{};
void MeshLib::CHalfEdge::_to_string | ( | ) | [inline] |
CHalfEdge * MeshLib::CHalfEdge::ccw_rotate_about_source | ( | ) | [inline] |
Rotate the halfedge about the source vertex ccwly.
Definition at line 111 of file HalfEdge.h.
CHalfEdge * MeshLib::CHalfEdge::ccw_rotate_about_target | ( | ) | [inline] |
Rotate the halfedge about the target vertex ccwly.
Definition at line 92 of file HalfEdge.h.
CHalfEdge * MeshLib::CHalfEdge::clw_rotate_about_source | ( | ) | [inline] |
Rotate the halfedge about the source vertex ccwly.
Definition at line 120 of file HalfEdge.h.
CHalfEdge * MeshLib::CHalfEdge::clw_rotate_about_target | ( | ) | [inline] |
Rotate the halfedge about the target vertex clwly.
Definition at line 102 of file HalfEdge.h.
CEdge* & MeshLib::CHalfEdge::edge | ( | ) | [inline] |
Pointer to the edge attaching to the current halfedge.
Definition at line 37 of file HalfEdge.h.
{ return m_edge; };
CFace* & MeshLib::CHalfEdge::face | ( | ) | [inline] |
The face, to which the current halfedge attach.
Definition at line 51 of file HalfEdge.h.
{ return m_face;};
CHalfEdge* & MeshLib::CHalfEdge::he_next | ( | ) | [inline] |
Next halfedge of the current halfedge.
Definition at line 47 of file HalfEdge.h.
{ return m_next;};
CHalfEdge* & MeshLib::CHalfEdge::he_prev | ( | ) | [inline] |
Previous halfedge of the current halfedge.
Definition at line 45 of file HalfEdge.h.
{ return m_prev;};
CHalfEdge* & MeshLib::CHalfEdge::he_sym | ( | ) | [inline] |
The dual halfedge of the current halfedge.
Definition at line 49 of file HalfEdge.h.
{ return m_edge->other( this ); };
CVertex* & MeshLib::CHalfEdge::source | ( | ) | [inline] |
Source vertex of the current halfedge.
Definition at line 43 of file HalfEdge.h.
{ return m_prev->vertex();};
std::string& MeshLib::CHalfEdge::string | ( | ) | [inline] |
String of the current halfedge.
Definition at line 69 of file HalfEdge.h.
CVertex* & MeshLib::CHalfEdge::target | ( | ) | [inline] |
Target vertex of the current halfedge.
Definition at line 41 of file HalfEdge.h.
{ return m_vertex; };
CVertex* & MeshLib::CHalfEdge::vertex | ( | ) | [inline] |
Target vertex of the current halfedge.
Definition at line 39 of file HalfEdge.h.
{ return m_vertex; };
CEdge* MeshLib::CHalfEdge::m_edge [protected] |
Edge, current halfedge attached to.
Definition at line 73 of file HalfEdge.h.
CFace* MeshLib::CHalfEdge::m_face [protected] |
Face, current halfedge attached to.
Definition at line 79 of file HalfEdge.h.
CHalfEdge* MeshLib::CHalfEdge::m_next [protected] |
Next halfedge of the current halfedge, in the same face.
Definition at line 85 of file HalfEdge.h.
CHalfEdge* MeshLib::CHalfEdge::m_prev [protected] |
Previous halfedge of the current halfedge, in the same face.
Definition at line 83 of file HalfEdge.h.
std::string MeshLib::CHalfEdge::m_string [protected] |
The string of the current halfedge.
Definition at line 87 of file HalfEdge.h.
CVertex* MeshLib::CHalfEdge::m_vertex [protected] |
Target vertex of the current halfedge.
Definition at line 81 of file HalfEdge.h.