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