Public Member Functions | |
| None | __init__ (self) |
| None | __init__ (self, ConstInSphereSearchSettings arg0) |
| None | __init__ (self, bool insideAndOutside, float maxRadius, int maxIters, float minShrinkage, float minAngleCos) |
| InSphereSearchSettings | assign (self, ConstInSphereSearchSettings other) |
| bool | insideAndOutside (self) |
| None | insideAndOutside (self, bool arg1) |
| int | maxIters (self) |
| None | maxIters (self, int arg1) |
| float | maxRadius (self) |
| None | maxRadius (self, float arg1) |
| float | minAngleCos (self) |
| None | minAngleCos (self, float arg1) |
| float | minShrinkage (self) |
| None | minShrinkage (self, float arg1) |
| Public Member Functions inherited from mrmeshpy.ConstInSphereSearchSettings | |
| __init__ (self, *args, **kwargs) | |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Additional Inherited Members | |
| Static Protected Attributes inherited from mrmeshpy.ConstInSphereSearchSettings | |
| typing | _offsetof_insideAndOutside = 0 |
| typing | _offsetof_maxIters = 8 |
| typing | _offsetof_maxRadius = 4 |
| typing | _offsetof_minAngleCos = 16 |
| typing | _offsetof_minShrinkage = 12 |
Generated from: MR::InSphereSearchSettings controls the finding of maximal inscribed sphere in mesh
|
static |
| None mrmeshpy.InSphereSearchSettings.__init__ | ( | self | ) |
| None mrmeshpy.InSphereSearchSettings.__init__ | ( | self, | |
| ConstInSphereSearchSettings | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.InSphereSearchSettings.__init__ | ( | self, | |
| bool | insideAndOutside, | ||
| float | maxRadius, | ||
| int | maxIters, | ||
| float | minShrinkage, | ||
| float | minAngleCos ) |
Implicit aggregate constructor.
| InSphereSearchSettings mrmeshpy.InSphereSearchSettings.assign | ( | self, | |
| ConstInSphereSearchSettings | other ) |
| bool mrmeshpy.InSphereSearchSettings.insideAndOutside | ( | self | ) |
if false then searches for the maximal inscribed sphere in mesh;
if true then searches for both a) maximal inscribed sphere, and b) maximal sphere outside the mesh touching it at two points;
and returns the smaller of two, and if it is b) then with minus sign
Reimplemented from mrmeshpy.ConstInSphereSearchSettings.
| None mrmeshpy.InSphereSearchSettings.insideAndOutside | ( | self, | |
| bool | arg1 ) |
if false then searches for the maximal inscribed sphere in mesh;
if true then searches for both a) maximal inscribed sphere, and b) maximal sphere outside the mesh touching it at two points;
and returns the smaller of two, and if it is b) then with minus sign
Reimplemented from mrmeshpy.ConstInSphereSearchSettings.
| int mrmeshpy.InSphereSearchSettings.maxIters | ( | self | ) |
maximum number of shrinking iterations for one triangle
Reimplemented from mrmeshpy.ConstInSphereSearchSettings.
| None mrmeshpy.InSphereSearchSettings.maxIters | ( | self, | |
| int | arg1 ) |
maximum number of shrinking iterations for one triangle
Reimplemented from mrmeshpy.ConstInSphereSearchSettings.
| float mrmeshpy.InSphereSearchSettings.maxRadius | ( | self | ) |
maximum allowed radius of the sphere;
for almost closed meshes the article recommends maxRadius = 0.5f * std::min( { boxSize.x, boxSize.y, boxSize.z } )
Reimplemented from mrmeshpy.ConstInSphereSearchSettings.
| None mrmeshpy.InSphereSearchSettings.maxRadius | ( | self, | |
| float | arg1 ) |
maximum allowed radius of the sphere;
for almost closed meshes the article recommends maxRadius = 0.5f * std::min( { boxSize.x, boxSize.y, boxSize.z } )
Reimplemented from mrmeshpy.ConstInSphereSearchSettings.
| float mrmeshpy.InSphereSearchSettings.minAngleCos | ( | self | ) |
minimum cosine of the angle between two unit directions: 1) search unit direction (m.inDir), 2) unit direction from sphere's center to the other found touch point; -1 value means no filtering by this angle; the increase of this value helps avoiding too small spheres on noisy surfaces
Reimplemented from mrmeshpy.ConstInSphereSearchSettings.
| None mrmeshpy.InSphereSearchSettings.minAngleCos | ( | self, | |
| float | arg1 ) |
minimum cosine of the angle between two unit directions: 1) search unit direction (m.inDir), 2) unit direction from sphere's center to the other found touch point; -1 value means no filtering by this angle; the increase of this value helps avoiding too small spheres on noisy surfaces
Reimplemented from mrmeshpy.ConstInSphereSearchSettings.
| float mrmeshpy.InSphereSearchSettings.minShrinkage | ( | self | ) |
iterations stop if next radius is larger than minShrinkage times previous radius
Reimplemented from mrmeshpy.ConstInSphereSearchSettings.
| None mrmeshpy.InSphereSearchSettings.minShrinkage | ( | self, | |
| float | arg1 ) |
iterations stop if next radius is larger than minShrinkage times previous radius
Reimplemented from mrmeshpy.ConstInSphereSearchSettings.