Visual Computing Library
Loading...
Searching...
No Matches
vcl::MeshEdgeUtil< MeshType > Class Template Reference

Utility class that represents a edge in a Mesh. More...

#include <vclib/space/complex/mesh_edge_util.h>

Public Types

using VertexType = MeshType::VertexType
 
using FaceType = MeshType::FaceType
 

Public Member Functions

 MeshEdgeUtil (FaceType &pf, uint ne)
 
bool operator< (const MeshEdgeUtil &pe) const
 
bool operator== (const MeshEdgeUtil &pe) const
 
bool operator!= (const MeshEdgeUtil &pe) const
 

Public Attributes

VertexType * v [2]
 
FaceType * f
 
int e
 

Detailed Description

template<FaceMeshConcept MeshType>
class vcl::MeshEdgeUtil< MeshType >

Utility class that represents a edge in a Mesh.

An instance of MeshEdgeUtil stores:

  • the index of the edge in the face
  • the pointer of the face
  • the pointers of the vertices of the edge.

Edges can be sorted using this class

TODO: unify these two classes with a template parameter for constness


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