31 FaceColors* outFaceColors =
nullptr );
#define MRMESH_API
Definition MRMeshFwd.h:80
Definition MRMeshTopology.h:23
std::function< bool(float)> ProgressCallback
Definition MRMeshFwd.h:758
std::vector< FaceFace > GroupOrder
Definition MRSegmentMesh.h:15
tl::expected< T, E > Expected
Definition MRExpected.h:31
std::function< float(EdgeId)> EdgeMetric
Definition MRMeshFwd.h:588
Expected< GroupOrder > segmentMesh(const Mesh &mesh, const EdgeMetric &curvMetric, const ProgressCallback &progress={})
UndirectedEdgeBitSet findSegmentBoundaries(const MeshTopology &topology, const GroupOrder &groupOrder, int numSegments, FaceColors *outFaceColors=nullptr)
optional output face coloring where all faces of one segment share the same color
only for bindings generation
Definition MRCameraOrientationPlugin.h:8