Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, DistanceToMeshOptions arg0) |
None | __init__ (self, float minDistSq, float maxDistSq, bool nullOutsideMinMax, float windingNumberThreshold, float windingNumberBeta) |
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) |
Static Protected Member Functions | |
_pybind11_conduit_v1_ (*args, **kwargs) | |
Generated from: MR::DistanceToMeshOptions options determining computation of distance from a point to a mesh
None mrmeshpy.DistanceToMeshOptions.__init__ | ( | self | ) |
Implicit default constructor.
Reimplemented in mrmeshpy.SignedDistanceToMeshOptions, and mrmeshpy.SignedDistanceToMeshOptions.
None mrmeshpy.DistanceToMeshOptions.__init__ | ( | self, | |
DistanceToMeshOptions | arg0 ) |
Implicit copy constructor.
Reimplemented in mrmeshpy.SignedDistanceToMeshOptions, and mrmeshpy.SignedDistanceToMeshOptions.
None mrmeshpy.DistanceToMeshOptions.__init__ | ( | self, | |
float | minDistSq, | ||
float | maxDistSq, | ||
bool | nullOutsideMinMax, | ||
float | windingNumberThreshold, | ||
float | windingNumberBeta ) |
Implicit aggregate constructor.
Reimplemented in mrmeshpy.SignedDistanceToMeshOptions, and mrmeshpy.SignedDistanceToMeshOptions.
|
staticprotected |
Reimplemented in mrmeshpy.SignedDistanceToMeshOptions.
float mrmeshpy.DistanceToMeshOptions.maxDistSq | ( | self | ) |
maximum squared distance from a point to mesh to be computed precisely
None mrmeshpy.DistanceToMeshOptions.maxDistSq | ( | self, | |
float | arg1 ) |
float mrmeshpy.DistanceToMeshOptions.minDistSq | ( | self | ) |
minimum squared distance from a point to mesh to be computed precisely
None mrmeshpy.DistanceToMeshOptions.minDistSq | ( | self, | |
float | arg1 ) |
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
None mrmeshpy.DistanceToMeshOptions.nullOutsideMinMax | ( | self, | |
bool | arg1 ) |
float mrmeshpy.DistanceToMeshOptions.windingNumberBeta | ( | self | ) |
only for SignDetectionMode::HoleWindingRule: determines the precision of fast approximation: the more the better, minimum value is 1
None mrmeshpy.DistanceToMeshOptions.windingNumberBeta | ( | self, | |
float | arg1 ) |
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
None mrmeshpy.DistanceToMeshOptions.windingNumberThreshold | ( | self, | |
float | arg1 ) |