MeshLib C++ Docs
Loading...
Searching...
No Matches
MRSurroundingContour.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRVector3.h"
4#include "MREdgePaths.h"
5#include "MRExpected.h"
6#include <vector>
7
8namespace MR
9{
12
13
25[[nodiscard]] MRMESH_API Expected<EdgeLoop> surroundingContour(
26 const Mesh & mesh,
27 std::vector<EdgeId> includeEdges,
28 const EdgeMetric & edgeMetric,
29 const Vector3f & dir
30);
31
43[[nodiscard]] MRMESH_API Expected<EdgeLoop> surroundingContour(
44 const Mesh & mesh,
45 std::vector<VertId> keyVertices,
46 const EdgeMetric & edgeMetric,
47 const Vector3f & dir
48);
49
50}
tl::expected< T, E > Expected
Definition MRExpected.h:31
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...
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRMesh.h:23