The ElementHalfFace class defines element half-faces. More...


Public Types | |
typedef ElementHalfItem< DerivedElement >::Winding | Winding |
![]() | |
enum | Winding { WINDING_NATURAL = 1 , WINDING_REVERSE = -1 } |
Public Member Functions | |
int | getFace () 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 | |
ElementHalfFace (DerivedElement &element, int face, Winding winding) | |
![]() | |
ElementHalfItem (DerivedElement &element, ConstProxyVector< long > &&vertexIds, ElementHalfItem< DerivedElement >::Winding winding) | |
DerivedElement & | getElement () const |
Protected Attributes | |
int | m_face |
![]() | |
DerivedElement & | m_element |
std::size_t | m_firstVertexId |
ConstProxyVector< long > | m_vertexIds |
Winding | m_winding |
Detailed Description
class bitpit::ElementHalfFace< DerivedElement >
The ElementHalfFace class defines element half-faces.
ElementHalfFace is the class that defines element half-faces. Each face can be seen as two half-faces: one belonging to an element and the other belonging to the neighbouring element. A half-face is identify by its vertexIds and by the winding order of the vertexIds.
Definition at line 272 of file element.hpp.
Member Typedef Documentation
◆ Winding
typedef ElementHalfItem<DerivedElement>::Winding bitpit::ElementHalfFace< DerivedElement >::Winding |
Definition at line 275 of file element.hpp.
Constructor & Destructor Documentation
◆ ElementHalfFace()
|
protected |
Constructor.
- Parameters
-
element is a reference to the element the owns the face face if the local face of the element winding is the winding order of the vertexIds
Definition at line 257 of file element.tpp.
Member Function Documentation
◆ getFace()
int bitpit::ElementHalfFace< DerivedElement >::getFace | ( | ) | const |
Get the local face index.
- Returns
- Returns the local face index.
Definition at line 269 of file element.tpp.
Member Data Documentation
◆ m_face
|
protected |
Definition at line 280 of file element.hpp.
The documentation for this class was generated from the following files:
- src/patchkernel/element.hpp
- src/patchkernel/element.tpp
