21 std::vector<EdgeId> includeEdges,
36 std::vector<VertId> keyVertices,
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
MRMESH_API Expected< EdgeLoop > surroundingContour(const Mesh &mesh, std::vector< EdgeId > includeEdges, const EdgeMetric &edgeMetric, const Vector3f &dir)
Find the best closed edge loop passing through given edges, which minimizes the sum of given edge met...
Definition MRCameraOrientationPlugin.h:8
tl::expected< T, E > Expected
Definition MRExpected.h:58
std::function< float(EdgeId)> EdgeMetric
Definition MRMesh/MRMeshFwd.h:438
Definition MRMesh/MRMesh.h:23