Visual Computing Library
devel
|
Utility class that represents a edge in a Mesh having Vertices and Faces. More...
#include <vclib/space/complex/mesh_edge_util.h>
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 | |
int | e |
FaceType * | f |
VertexType * | v [2] |
Private Types | |
using | FaceType = std::conditional_t< CNST, const typename MeshType::FaceType, typename MeshType::FaceType > |
using | VertexType = std::conditional_t< CNST, const typename MeshType::VertexType, typename MeshType::VertexType > |
Utility class that represents a edge in a Mesh having Vertices and Faces.
An instance of MeshEdgeUtil stores:
This class allows to compare edges in a Mesh. The ordering is done using the vertex pointers of the edge (the face pointer or the edge index are not used).
MeshType | The type of the mesh. It must satisfy the FaceMeshConcept. |