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 non-const half of the class.
More...
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 non-const half of the class.
◆ SignedDistanceToMeshOptions() [1/3]
| unsafe MR.SignedDistanceToMeshOptions.SignedDistanceToMeshOptions |
( |
| ) |
|
|
inline |
Constructs an empty (default-constructed) instance.
◆ SignedDistanceToMeshOptions() [2/3]
| unsafe MR.SignedDistanceToMeshOptions.SignedDistanceToMeshOptions |
( |
MR.Const_SignedDistanceToMeshOptions | _other | ) |
|
|
inline |
Generated from constructor MR.SignedDistanceToMeshOptions.SignedDistanceToMeshOptions.
◆ SignedDistanceToMeshOptions() [3/3]
Generated from constructor MR.SignedDistanceToMeshOptions.SignedDistanceToMeshOptions.
◆ assign()
Generated from method MR.SignedDistanceToMeshOptions.operator=.
◆ operator MR.DistanceToMeshOptions()
◆ maxDistSq
| new unsafe ref float MR.SignedDistanceToMeshOptions.maxDistSq |
|
get |
maximum squared distance from a point to mesh to be computed precisely
◆ minDistSq
| new unsafe ref float MR.SignedDistanceToMeshOptions.minDistSq |
|
get |
minimum squared distance from a point to mesh to be computed precisely
◆ nullOutsideMinMax
| new unsafe ref bool MR.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
| new unsafe ref float MR.SignedDistanceToMeshOptions.windingNumberBeta |
|
get |
◆ windingNumberThreshold
| new unsafe ref float MR.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: