options determining computation of signed distance from a point to a mesh Generated from class MR.SignedDistanceToMeshOptions. Base classes: Direct: (non-virtual) MR.DistanceToMeshOptions This is the const half of the class.
More...
|
| virtual unsafe void | Dispose (bool disposing) |
|
| unsafe MR.SignDetectionMode | signMode [get] |
| | the method to compute distance sign
|
| unsafe float | minDistSq [get] |
| | minimum squared distance from a point to mesh to be computed precisely
|
| unsafe float | maxDistSq [get] |
| | maximum squared distance from a point to mesh to be computed precisely
|
| unsafe bool | nullOutsideMinMax [get] |
| | what to do if actual distance is outside [min, max) range: true - return std::nullopt for std::optional<float> or NaN for float, false - return approximate value of the distance (with correct sign in case of SignDetectionMode.HoleWindingRule); please note that in HoleWindingRule the sign can change even for too small or too large distances, so if you would like to get closed mesh from marching cubes, set false here
|
| unsafe float | windingNumberThreshold [get] |
| | only for SignDetectionMode.HoleWindingRule: positive distance if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes
|
| unsafe float | windingNumberBeta [get] |
| | only for SignDetectionMode.HoleWindingRule: determines the precision of fast approximation: the more the better, minimum value is 1
|
options determining computation of signed distance from a point to a mesh Generated from class MR.SignedDistanceToMeshOptions. Base classes: Direct: (non-virtual) MR.DistanceToMeshOptions This is the const half of the class.
◆ Const_SignedDistanceToMeshOptions() [1/3]
| unsafe MR.Const_SignedDistanceToMeshOptions.Const_SignedDistanceToMeshOptions |
( |
| ) |
|
|
inline |
Constructs an empty (default-constructed) instance.
◆ Const_SignedDistanceToMeshOptions() [2/3]
◆ Const_SignedDistanceToMeshOptions() [3/3]
◆ Dispose() [1/2]
| virtual void MR.Const_SignedDistanceToMeshOptions.Dispose |
( |
| ) |
|
|
inlinevirtual |
◆ Dispose() [2/2]
| virtual unsafe void MR.Const_SignedDistanceToMeshOptions.Dispose |
( |
bool | disposing | ) |
|
|
inlineprotectedvirtual |
◆ operator MR.Const_DistanceToMeshOptions()
◆ __ref_storage_maxDistSq
| unsafe float* MR.Const_SignedDistanceToMeshOptions.__ref_storage_maxDistSq |
|
protected |
◆ __ref_storage_minDistSq
| unsafe float* MR.Const_SignedDistanceToMeshOptions.__ref_storage_minDistSq |
|
protected |
◆ __ref_storage_nullOutsideMinMax
| unsafe bool* MR.Const_SignedDistanceToMeshOptions.__ref_storage_nullOutsideMinMax |
|
protected |
◆ __ref_storage_signMode
◆ __ref_storage_windingNumberBeta
| unsafe float* MR.Const_SignedDistanceToMeshOptions.__ref_storage_windingNumberBeta |
|
protected |
◆ __ref_storage_windingNumberThreshold
| unsafe float* MR.Const_SignedDistanceToMeshOptions.__ref_storage_windingNumberThreshold |
|
protected |
◆ maxDistSq
| unsafe float MR.Const_SignedDistanceToMeshOptions.maxDistSq |
|
get |
maximum squared distance from a point to mesh to be computed precisely
◆ minDistSq
| unsafe float MR.Const_SignedDistanceToMeshOptions.minDistSq |
|
get |
minimum squared distance from a point to mesh to be computed precisely
◆ nullOutsideMinMax
| unsafe bool MR.Const_SignedDistanceToMeshOptions.nullOutsideMinMax |
|
get |
what to do if actual distance is outside [min, max) range: true - return std::nullopt for std::optional<float> or NaN for float, false - return approximate value of the distance (with correct sign in case of SignDetectionMode.HoleWindingRule); please note that in HoleWindingRule the sign can change even for too small or too large distances, so if you would like to get closed mesh from marching cubes, set false here
◆ signMode
the method to compute distance sign
◆ windingNumberBeta
| unsafe float MR.Const_SignedDistanceToMeshOptions.windingNumberBeta |
|
get |
◆ windingNumberThreshold
| unsafe float MR.Const_SignedDistanceToMeshOptions.windingNumberThreshold |
|
get |
only for SignDetectionMode.HoleWindingRule: positive distance if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes
The documentation for this class was generated from the following file: