MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMeshOverhangs.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include "MRVector3.h"
5#include "MRExpected.h"
6
7namespace MR
8{
9
11struct FindOverhangsSettings
12{
14 Vector3f axis{ Vector3f::plusZ() };
16 float layerHeight { 1.f };
18 float maxOverhangDistance { 1.f };
20 int hops = 0;
22 const AffineXf3f* xf = nullptr;
23 ProgressCallback progressCb;
24};
25
30MRMESH_API Expected<std::vector<FaceBitSet>> findOverhangs( const Mesh& mesh, const FindOverhangsSettings& settings );
31
32} // namespace MR
#define MRMESH_API
Definition MRMeshFwd.h:80
Definition MRMeshOverhangs.h:12
new unsafe ref float layerHeight
new unsafe MR.? ConstBox_AffineXf3f xf
new unsafe ref float maxOverhangDistance
new unsafe ref MR.Vector3f axis
new unsafe ref int hops
Definition MRMesh/MRMesh.h:23
Definition MRCameraOrientationPlugin.h:8
MRMESH_API Expected< std::vector< FaceBitSet > > findOverhangs(const Mesh &mesh, const FindOverhangsSettings &settings)
Find face regions that might create overhangs.
static MR.Vector3f plusZ()