31 FaceColors* outFaceColors =
nullptr );
#define MRMESH_API
Definition MRMeshFwd.h:82
Definition MRMeshTopology.h:30
std::function< bool(float)> ProgressCallback
Definition MRMeshFwd.h:751
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:581
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