#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
Definition MRMesh/MRMeshTopology.h:18
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:576
Definition MRCameraOrientationPlugin.h:8
std::function< float(EdgeId)> EdgeMetric
Definition MRMesh/MRMeshFwd.h:438
MRMESH_API std::optional< FaceScalars > calcFaceDistances(const MeshTopology &topology, const EdgeMetric &metric, const FaceBitSet &starts, const FaceDistancesSettings &settings={})
Definition MRFaceDistance.h:10
float * maxDist
optional output of the maximal distance to the most distant face
Definition MRFaceDistance.h:19
OutputFaceValues out
Definition MRFaceDistance.h:16
ProgressCallback progress
for progress reporting and cancellation
Definition MRFaceDistance.h:22
OutputFaceValues
Definition MRFaceDistance.h:12
@ SeqOrder
each face will get its sequential order (1,2,...) from start in the result
@ Distances
each face will get its distance from start in the result