34 [[nodiscard]]
bool isDelone( UndirectedEdgeId ue,
float threshold = 0 )
const {
return cotan( ue ) >= threshold; }
#define MRMESH_API
Definition MRMeshFwd.h:80
Definition MRMeshTopology.h:23
float cotan(UndirectedEdgeId ue) const
Definition MREdgeLengthMesh.h:29
bool isDelone(UndirectedEdgeId ue, float threshold=0) const
Definition MREdgeLengthMesh.h:34
std::optional< float > edgeLengthAfterFlip(EdgeId e) const
MeshTopology topology
Definition MREdgeLengthMesh.h:17
static EdgeLengthMesh fromMesh(const Mesh &mesh)
construct EdgeLengthMesh from an ordinary mesh
UndirectedEdgeScalars edgeLengths
Definition MREdgeLengthMesh.h:18
float leftCotan(EdgeId e) const
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MREdgeLengthMesh.h:16