MeshLib C++ Docs
Loading...
Searching...
No Matches
MRCutAroundVertSets.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include "MRExpected.h"
6
7namespace MR
8{
11
12
14{
16 float distance = 0;
17
23 float gap = 0;
24};
25
30[[nodiscard]] MRMESH_API Expected<std::vector<FaceBitSet>> cutAroundVertSets( Mesh & mesh, const std::vector<VertBitSet> & vertSets,
31 const CutAroundVertSetsParams & params, const ProgressCallback & cb = {} );
32
33}
#define MRMESH_API
Definition MRMeshFwd.h:85
std::function< bool(float)> ProgressCallback
Definition MRMeshFwd.h:789
float gap
Definition MRCutAroundVertSets.h:23
tl::expected< T, E > Expected
Definition MRExpected.h:31
float distance
the mesh is cut along the isolines of surface distance equal to this value around each vertex set
Definition MRCutAroundVertSets.h:16
Expected< std::vector< FaceBitSet > > cutAroundVertSets(Mesh &mesh, const std::vector< VertBitSet > &vertSets, const CutAroundVertSetsParams &params, const ProgressCallback &cb={})
Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).
Definition MRCameraOrientationPlugin.h:8
Definition MRCutAroundVertSets.h:14
Definition MRMesh.h:24