Public Member Functions | |
| None | __init__ (self) |
| None | __init__ (self, ConstDistanceToMeshOptions arg0) |
| None | __init__ (self, float minDistSq, float maxDistSq, bool nullOutsideMinMax, float windingNumberThreshold, float windingNumberBeta) |
| DistanceToMeshOptions | assign (self, ConstDistanceToMeshOptions other) |
| float | maxDistSq (self) |
| None | maxDistSq (self, float arg1) |
| float | minDistSq (self) |
| None | minDistSq (self, float arg1) |
| bool | nullOutsideMinMax (self) |
| None | nullOutsideMinMax (self, bool arg1) |
| float | windingNumberBeta (self) |
| None | windingNumberBeta (self, float arg1) |
| float | windingNumberThreshold (self) |
| None | windingNumberThreshold (self, float arg1) |
| Public Member Functions inherited from mrmeshpy.ConstDistanceToMeshOptions | |
| __init__ (self, *args, **kwargs) | |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Additional Inherited Members | |
| Static Protected Attributes inherited from mrmeshpy.ConstDistanceToMeshOptions | |
| typing | _offsetof_maxDistSq = 4 |
| typing | _offsetof_minDistSq = 0 |
| typing | _offsetof_nullOutsideMinMax = 8 |
| typing | _offsetof_windingNumberBeta = 16 |
| typing | _offsetof_windingNumberThreshold = 12 |
Generated from: MR::DistanceToMeshOptions options determining computation of distance from a point to a mesh
|
static |
| None mrmeshpy.DistanceToMeshOptions.__init__ | ( | self | ) |
| None mrmeshpy.DistanceToMeshOptions.__init__ | ( | self, | |
| ConstDistanceToMeshOptions | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.DistanceToMeshOptions.__init__ | ( | self, | |
| float | minDistSq, | ||
| float | maxDistSq, | ||
| bool | nullOutsideMinMax, | ||
| float | windingNumberThreshold, | ||
| float | windingNumberBeta ) |
Implicit aggregate constructor.
| DistanceToMeshOptions mrmeshpy.DistanceToMeshOptions.assign | ( | self, | |
| ConstDistanceToMeshOptions | other ) |
Reimplemented in mrmeshpy.SignedDistanceToMeshOptions.
| float mrmeshpy.DistanceToMeshOptions.maxDistSq | ( | self | ) |
maximum squared distance from a point to mesh to be computed precisely
Reimplemented from mrmeshpy.ConstDistanceToMeshOptions.
| None mrmeshpy.DistanceToMeshOptions.maxDistSq | ( | self, | |
| float | arg1 ) |
maximum squared distance from a point to mesh to be computed precisely
Reimplemented from mrmeshpy.ConstDistanceToMeshOptions.
| float mrmeshpy.DistanceToMeshOptions.minDistSq | ( | self | ) |
minimum squared distance from a point to mesh to be computed precisely
Reimplemented from mrmeshpy.ConstDistanceToMeshOptions.
| None mrmeshpy.DistanceToMeshOptions.minDistSq | ( | self, | |
| float | arg1 ) |
minimum squared distance from a point to mesh to be computed precisely
Reimplemented from mrmeshpy.ConstDistanceToMeshOptions.
| bool mrmeshpy.DistanceToMeshOptions.nullOutsideMinMax | ( | self | ) |
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
Reimplemented from mrmeshpy.ConstDistanceToMeshOptions.
| None mrmeshpy.DistanceToMeshOptions.nullOutsideMinMax | ( | self, | |
| bool | arg1 ) |
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
Reimplemented from mrmeshpy.ConstDistanceToMeshOptions.
| float mrmeshpy.DistanceToMeshOptions.windingNumberBeta | ( | self | ) |
only for SignDetectionMode::HoleWindingRule: determines the precision of fast approximation: the more the better, minimum value is 1
Reimplemented from mrmeshpy.ConstDistanceToMeshOptions.
| None mrmeshpy.DistanceToMeshOptions.windingNumberBeta | ( | self, | |
| float | arg1 ) |
only for SignDetectionMode::HoleWindingRule: determines the precision of fast approximation: the more the better, minimum value is 1
Reimplemented from mrmeshpy.ConstDistanceToMeshOptions.
| float mrmeshpy.DistanceToMeshOptions.windingNumberThreshold | ( | self | ) |
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
Reimplemented from mrmeshpy.ConstDistanceToMeshOptions.
| None mrmeshpy.DistanceToMeshOptions.windingNumberThreshold | ( | self, | |
| float | arg1 ) |
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
Reimplemented from mrmeshpy.ConstDistanceToMeshOptions.