The QualifiedInterfaceHalfEdge class defines interface half-edges. More...
Public Types | |
typedef ElementHalfFace< QualifiedInterface >::Winding | Winding |
Public Types inherited from bitpit::ElementHalfFace< QualifiedInterface > | |
typedef ElementHalfItem< QualifiedInterface >::Winding | Winding |
Public Types inherited from bitpit::ElementHalfItem< DerivedElement > | |
enum | Winding { WINDING_NATURAL = 1 , WINDING_REVERSE = -1 } |
Public Member Functions | |
QualifiedInterfaceHalfEdge (QualifiedInterface &interface, int edge, Winding winding=Winding::WINDING_NATURAL) | |
QualifiedInterface & | getInterface () const |
Public Member Functions inherited from bitpit::ElementHalfFace< QualifiedInterface > | |
int | getFace () const |
Public Member Functions inherited from bitpit::ElementHalfItem< DerivedElement > | |
const ConstProxyVector< long > & | getVertexIds () const |
Winding | getWinding () const |
bool | operator!= (const ElementHalfItem &other) const |
bool | operator== (const ElementHalfItem &other) const |
void | setWinding (Winding winding) |
Additional Inherited Members | |
Protected Member Functions inherited from bitpit::ElementHalfFace< QualifiedInterface > | |
ElementHalfFace (QualifiedInterface &element, int face, Winding winding) | |
Protected Member Functions inherited from bitpit::ElementHalfItem< DerivedElement > | |
ElementHalfItem (DerivedElement &element, ConstProxyVector< long > &&vertexIds, ElementHalfItem< DerivedElement >::Winding winding) | |
DerivedElement & | getElement () const |
Protected Attributes inherited from bitpit::ElementHalfFace< QualifiedInterface > | |
int | m_face |
Protected Attributes inherited from bitpit::ElementHalfItem< DerivedElement > | |
DerivedElement & | m_element |
std::size_t | m_firstVertexId |
ConstProxyVector< long > | m_vertexIds |
Winding | m_winding |
The QualifiedInterfaceHalfEdge class defines interface half-edges.
QualifiedInterfaceHalfEdge is the class that defines interface half-edges. Each edge can be seen as two half-edges: one belonging to an interface and the other belonging to the neighbouring interface. A half-edge is identify by its vertices and by the winding order of the vertices.
Definition at line 84 of file interface.hpp.
typedef ElementHalfFace<QualifiedInterface>::Winding bitpit::QualifiedInterfaceHalfEdge< QualifiedInterface >::Winding |
Definition at line 87 of file interface.hpp.
bitpit::QualifiedInterfaceHalfEdge< QualifiedInterface >::QualifiedInterfaceHalfEdge | ( | QualifiedInterface & | interface, |
int | edge, | ||
Winding | winding = Winding::WINDING_NATURAL ) |
Constructor.
interface | is a reference to the interface the owns the edge |
edge | if the local edge of the interface |
winding | is the winding order of the vertices |
Definition at line 50 of file interface.tpp.
QualifiedInterface & bitpit::QualifiedInterfaceHalfEdge< QualifiedInterface >::getInterface | ( | ) | const |
Get the element the half-item belongs to.
Definition at line 61 of file interface.tpp.