MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::EdgeLengthMesh Struct Reference

#include <MREdgeLengthMesh.h>

Public Member Functions

MRMESH_API float leftCotan (EdgeId e) const
 
float cotan (UndirectedEdgeId ue) const
 
bool isDelone (UndirectedEdgeId ue, float threshold=0) const
 
MRMESH_API std::optional< float > edgeLengthAfterFlip (EdgeId e) const
 
MRMESH_API bool flipEdge (EdgeId e)
 

Static Public Member Functions

static MRMESH_API EdgeLengthMesh fromMesh (const Mesh &mesh)
 construct EdgeLengthMesh from an ordinary mesh
 

Public Attributes

MeshTopology topology
 
UndirectedEdgeScalars edgeLengths
 

Detailed Description

Unlike the classic mesh that stores coordinates of its vertices, this class stores the lengths of all edges. It can be used for construction of intrinsic Intrinsic Delaunay Triangulations.


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