controls the finding of maximal inscribed sphere in mesh More...
#include <MRMeshThickness.h>
Public Attributes | |
bool | insideAndOutside = false |
float | maxRadius = 1 |
int | maxIters = 16 |
maximum number of shrinking iterations for one triangle | |
float | minShrinkage = 0.99999f |
iterations stop if next radius is larger than minShrinkage times previous radius | |
controls the finding of maximal inscribed sphere in mesh
bool MR::InSphereSearchSettings::insideAndOutside = false |
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
int MR::InSphereSearchSettings::maxIters = 16 |
maximum number of shrinking iterations for one triangle
float MR::InSphereSearchSettings::maxRadius = 1 |
maximum allowed radius of the sphere; for almost closed meshes the article recommends maxRadius = 0.5f * std::min( { boxSize.x, boxSize.y, boxSize.z } )
float MR::InSphereSearchSettings::minShrinkage = 0.99999f |
iterations stop if next radius is larger than minShrinkage times previous radius