MeshLib C++ Docs
Loading...
Searching...
No Matches
MRDistanceToMeshOptions.h
Go to the documentation of this file.
1#pragma once
2
4#include <cfloat>
5
6namespace MR
7{
8
10struct DistanceToMeshOptions
11{
13 float minDistSq{ 0 };
14
16 float maxDistSq{ FLT_MAX };
17
23 bool nullOutsideMinMax = true;
24
28 float windingNumberThreshold = 0.5f;
29
32 float windingNumberBeta = 2;
33};
34
36struct SignedDistanceToMeshOptions : DistanceToMeshOptions
37{
39 SignDetectionMode signMode{ SignDetectionMode::ProjectionNormal };
40};
41
42} //namespace MR
new unsafe ref float maxDistSq
new unsafe ref float windingNumberBeta
new unsafe ref float minDistSq
new unsafe ref float windingNumberThreshold
new unsafe ref bool nullOutsideMinMax
new unsafe ref MR.SignDetectionMode signMode
Definition MRCameraOrientationPlugin.h:8