#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 |
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.