C3D Toolkit  Kernel - 118069, Vision - 2.16.7.1844
MbHalfedgeEdge Class Reference

Polygonal mesh edge. More...

#include <halfedge_element.h>

+ Inheritance diagram for MbHalfedgeEdge:
+ Collaboration diagram for MbHalfedgeEdge:

Public Member Functions

 MbHalfedgeEdge ()
 Default constructor.
 
 MbHalfedgeEdge (const MbHalfedgeEdge &that)
 Copy constructor.
 
virtual ~MbHalfedgeEdge ()
 Destructor.
 
MbHalfedgeEdge & operator= (const MbHalfedgeEdge &that)
 Assingnment operator.
 
void Clear ()
 Clear the edge.
 
size_t Prev () const
 Get a previous edge in the cycle.
 
size_t Next () const
 Get a next edge in the cycle.
 
size_t Twin () const
 Get a twin edge.
 
size_t Vertex () const
 Get an edge vertex.
 
size_t Facet () const
 Get an edge facet.
 
bool IsPrevDefined () const
 Check if the previous edge is defined.
 
bool IsNextDefined () const
 Check if the next edge is defined.
 
bool IsTwinDefined () const
 Check if the twin edge is defined.
 
bool IsVertexDefined () const
 Check if the edge vertex is defined.
 
bool IsFacetDefined () const
 Check if the edge facet is defined.
 
void SetPrev (size_t ed)
 Set the previous edge in the cycle.
 
void SetNext (size_t ed)
 Set the next edge in the cycle.
 
void SetTwin (size_t ed)
 Set the twin edge.
 
void SetVertex (size_t vx)
 Set the edge vertex.
 
void SetFacet (size_t f)
 Set the edge facet.
 
void ClearTwin ()
 Remove the twin edge.
 
- Public Member Functions inherited from MbHalfedgeElement
 MbHalfedgeElement ()
 Default constructor.
 
 MbHalfedgeElement (const MbHalfedgeElement &that)
 Copy constructor.
 
virtual ~MbHalfedgeElement ()
 Destructor.
 
MbHalfedgeElement & operator= (const MbHalfedgeElement &that)
 Assignment operator.
 

Additional Inherited Members

- Protected Attributes inherited from MbHalfedgeElement
size_t _id
 Identifier (index in the array).
 

Detailed Description

Polygonal mesh edge.


The documentation for this class was generated from the following file: