controls the finding of maximal inscribed sphere in mesh Generated from class MR.InSphereSearchSettings. This is the non-const half of the class.
More...
|
| new unsafe ref bool | insideAndOutside [get] |
| |
| new unsafe ref float | maxRadius [get] |
| |
| new unsafe ref int | maxIters [get] |
| | maximum number of shrinking iterations for one triangle
|
| |
| new unsafe ref float | minShrinkage [get] |
| | iterations stop if next radius is larger than minShrinkage times previous radius
|
| |
| new unsafe ref float | minAngleCos [get] |
| |
controls the finding of maximal inscribed sphere in mesh Generated from class MR.InSphereSearchSettings. This is the non-const half of the class.
◆ InSphereSearchSettings() [1/4]
| unsafe MR.InSphereSearchSettings.InSphereSearchSettings |
( |
| ) |
|
|
inline |
Constructs an empty (default-constructed) instance.
◆ InSphereSearchSettings() [2/4]
| unsafe MR.InSphereSearchSettings.InSphereSearchSettings |
( |
bool | insideAndOutside, |
|
|
float | maxRadius, |
|
|
int | maxIters, |
|
|
float | minShrinkage, |
|
|
float | minAngleCos ) |
|
inline |
◆ InSphereSearchSettings() [3/4]
| unsafe MR.InSphereSearchSettings.InSphereSearchSettings |
( |
MR.Const_InSphereSearchSettings | _other | ) |
|
|
inline |
Generated from constructor MR.InSphereSearchSettings.InSphereSearchSettings.
◆ InSphereSearchSettings() [4/4]
Generated from constructor MR.InSphereSearchSettings.InSphereSearchSettings.
◆ assign()
Generated from method MR.InSphereSearchSettings.operator=.
◆ insideAndOutside
| new unsafe ref bool MR.InSphereSearchSettings.insideAndOutside |
|
get |
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
◆ maxIters
| new unsafe ref int MR.InSphereSearchSettings.maxIters |
|
get |
maximum number of shrinking iterations for one triangle
◆ maxRadius
| new unsafe ref float MR.InSphereSearchSettings.maxRadius |
|
get |
maximum allowed radius of the sphere; for almost closed meshes the article recommends maxRadius = 0.5f * std.min( { boxSize.x, boxSize.y, boxSize.z } )
◆ minAngleCos
| new unsafe ref float MR.InSphereSearchSettings.minAngleCos |
|
get |
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
◆ minShrinkage
| new unsafe ref float MR.InSphereSearchSettings.minShrinkage |
|
get |
iterations stop if next radius is larger than minShrinkage times previous radius
The documentation for this class was generated from the following file: