MeshLib C++ Docs
Loading...
Searching...
No Matches

#include <MRMesh/MREdgeLengthMesh.h>

Public Member Functions

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

Static Public Member Functions

static 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: