Loading...
Searching...
No Matches
The ElementHalfEdge class defines element half-edge items. More...
Inheritance diagram for bitpit::ElementHalfEdge< DerivedElement >:

Collaboration diagram for bitpit::ElementHalfEdge< DerivedElement >:

Public Types | |
typedef ElementHalfItem< DerivedElement >::Winding | Winding |
![]() | |
enum | Winding { WINDING_NATURAL = 1 , WINDING_REVERSE = -1 } |
Public Member Functions | |
int | getEdge () const |
![]() | |
const ConstProxyVector< long > & | getVertexIds () const |
Winding | getWinding () const |
bool | operator!= (const ElementHalfItem &other) const |
bool | operator== (const ElementHalfItem &other) const |
void | setWinding (Winding winding) |
Protected Member Functions | |
ElementHalfEdge (DerivedElement &element, int edge, Winding winding) | |
![]() | |
ElementHalfItem (DerivedElement &element, ConstProxyVector< long > &&vertexIds, ElementHalfItem< DerivedElement >::Winding winding) | |
DerivedElement & | getElement () const |
Protected Attributes | |
int | m_edge |
![]() | |
DerivedElement & | m_element |
std::size_t | m_firstVertexId |
ConstProxyVector< long > | m_vertexIds |
Winding | m_winding |
Detailed Description
template<class DerivedElement>
class bitpit::ElementHalfEdge< DerivedElement >
class bitpit::ElementHalfEdge< DerivedElement >
The ElementHalfEdge class defines element half-edge items.
ElementHalfEdge is the class that defines element half-edge items.
Definition at line 257 of file element.hpp.
Member Typedef Documentation
◆ Winding
template<class DerivedElement>
typedef ElementHalfItem<DerivedElement>::Winding bitpit::ElementHalfEdge< DerivedElement >::Winding |
Definition at line 260 of file element.hpp.
Constructor & Destructor Documentation
◆ ElementHalfEdge()
template<class DerivedElement>
|
protected |
Constructor.
- Parameters
-
element is a reference to the element the owns the edge edge if the local index of the edge winding is the winding order of the vertexIds
Definition at line 220 of file element.tpp.
Member Function Documentation
◆ getEdge()
template<class DerivedElement>
int bitpit::ElementHalfEdge< DerivedElement >::getEdge | ( | ) | const |
Get the local edge index.
- Returns
- Returns the local edge index.
Definition at line 232 of file element.tpp.
Member Data Documentation
◆ m_edge
template<class DerivedElement>
|
protected |
Definition at line 265 of file element.hpp.
The documentation for this class was generated from the following files:
- src/patchkernel/element.hpp
- src/patchkernel/element.tpp
