Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
bitpit::QualifiedCellHalfFace< QualifiedCell > Class Template Reference

The QualifiedCellHalfFace class defines cell half-faces. More...

Inheritance diagram for bitpit::QualifiedCellHalfFace< QualifiedCell >:
Inheritance graph
[legend]
Collaboration diagram for bitpit::QualifiedCellHalfFace< QualifiedCell >:
Collaboration graph
[legend]

Public Types

typedef ElementHalfFace< QualifiedCell >::Winding Winding
 
- Public Types inherited from bitpit::ElementHalfFace< QualifiedCell >
typedef ElementHalfItem< QualifiedCell >::Winding Winding
 
- Public Types inherited from bitpit::ElementHalfItem< DerivedElement >
enum  Winding { WINDING_NATURAL = 1 , WINDING_REVERSE = -1 }
 

Public Member Functions

 QualifiedCellHalfFace (QualifiedCell &cell, int face, Winding winding=Winding::WINDING_NATURAL)
 
QualifiedCell & getCell () const
 
- Public Member Functions inherited from bitpit::ElementHalfFace< QualifiedCell >
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< QualifiedCell >
 ElementHalfFace (QualifiedCell &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< QualifiedCell >
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
 

Detailed Description

template<typename QualifiedCell>
class bitpit::QualifiedCellHalfFace< QualifiedCell >

The QualifiedCellHalfFace class defines cell half-faces.

QualifiedCellHalfFace is the class that defines cell half-faces. Each face can be seen as two half-faces: one belonging to a cell and the other belonging to the neighbouring cell. A half-face is identify by its vertices and by the winding order of the vertices.

Definition at line 137 of file cell.hpp.

Member Typedef Documentation

◆ Winding

template<typename QualifiedCell >
typedef ElementHalfFace<QualifiedCell>::Winding bitpit::QualifiedCellHalfFace< QualifiedCell >::Winding

Definition at line 140 of file cell.hpp.

Constructor & Destructor Documentation

◆ QualifiedCellHalfFace()

template<class QualifiedCell >
bitpit::QualifiedCellHalfFace< QualifiedCell >::QualifiedCellHalfFace ( QualifiedCell & cell,
int face,
Winding winding = Winding::WINDING_NATURAL )

Constructor.

Parameters
cellis a reference to the cell the owns the face
faceif the local face of the cell
windingis the winding order of the vertices

Definition at line 83 of file cell.tpp.

Member Function Documentation

◆ getCell()

template<class QualifiedCell >
QualifiedCell & bitpit::QualifiedCellHalfFace< QualifiedCell >::getCell ( ) const

Get the element the half-item belongs to.

Returns
Returns the element the half-item belongs to.

Definition at line 94 of file cell.tpp.


The documentation for this class was generated from the following files:
--- layout: doxygen_footer ---