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

The QualifiedInterfaceHalfEdge class defines interface half-edges. More...

Inheritance diagram for bitpit::QualifiedInterfaceHalfEdge< QualifiedInterface >:
Inheritance graph
[legend]
Collaboration diagram for bitpit::QualifiedInterfaceHalfEdge< QualifiedInterface >:
Collaboration graph
[legend]

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
 

Detailed Description

template<typename QualifiedInterface>
class bitpit::QualifiedInterfaceHalfEdge< QualifiedInterface >

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.

Member Typedef Documentation

◆ Winding

template<typename QualifiedInterface >
typedef ElementHalfFace<QualifiedInterface>::Winding bitpit::QualifiedInterfaceHalfEdge< QualifiedInterface >::Winding

Definition at line 87 of file interface.hpp.

Constructor & Destructor Documentation

◆ QualifiedInterfaceHalfEdge()

template<class QualifiedInterface >
bitpit::QualifiedInterfaceHalfEdge< QualifiedInterface >::QualifiedInterfaceHalfEdge ( QualifiedInterface & interface,
int edge,
Winding winding = Winding::WINDING_NATURAL )

Constructor.

Parameters
interfaceis a reference to the interface the owns the edge
edgeif the local edge of the interface
windingis the winding order of the vertices

Definition at line 50 of file interface.tpp.

Member Function Documentation

◆ getInterface()

template<class QualifiedInterface >
QualifiedInterface & bitpit::QualifiedInterfaceHalfEdge< QualifiedInterface >::getInterface ( ) const

Get the element the half-item belongs to.

Returns
Returns the element the half-item belongs to.

Definition at line 61 of file interface.tpp.


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