MeshLib Documentation
Loading...
Searching...
No Matches
MRSurroundingContour.h File Reference
#include "MRVector3.h"
#include "MREdgePaths.h"
#include "MRExpected.h"
#include <vector>

Go to the source code of this file.

Namespaces

namespace  MR
 

Functions

MRMESH_API Expected< EdgeLoopMR::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 metric.
 
MRMESH_API Expected< EdgeLoopMR::surroundingContour (const Mesh &mesh, std::vector< VertId > keyVertices, const EdgeMetric &edgeMetric, const Vector3f &dir)
 Find the best closed edge loop passing through given vertices, which minimizes the sum of given edge metric.