controls the finding of maximal inscribed sphere in mesh Generated from class MR.InSphereSearchSettings. This is the const half of the class.
More...
|
| virtual unsafe void | Dispose (bool disposing) |
|
| unsafe bool | 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
|
| unsafe float | 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 } )
|
| unsafe int | maxIters [get] |
| | maximum number of shrinking iterations for one triangle
|
| unsafe float | minShrinkage [get] |
| | iterations stop if next radius is larger than minShrinkage times previous radius
|
| unsafe float | 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
|
controls the finding of maximal inscribed sphere in mesh Generated from class MR.InSphereSearchSettings. This is the const half of the class.
◆ Const_InSphereSearchSettings() [1/4]
| unsafe MR.Const_InSphereSearchSettings.Const_InSphereSearchSettings |
( |
| ) |
|
|
inline |
Constructs an empty (default-constructed) instance.
◆ Const_InSphereSearchSettings() [2/4]
| unsafe MR.Const_InSphereSearchSettings.Const_InSphereSearchSettings |
( |
bool | insideAndOutside, |
|
|
float | maxRadius, |
|
|
int | maxIters, |
|
|
float | minShrinkage, |
|
|
float | minAngleCos ) |
|
inline |
◆ Const_InSphereSearchSettings() [3/4]
◆ Const_InSphereSearchSettings() [4/4]
◆ Dispose() [1/2]
| virtual void MR.Const_InSphereSearchSettings.Dispose |
( |
| ) |
|
|
inlinevirtual |
◆ Dispose() [2/2]
| virtual unsafe void MR.Const_InSphereSearchSettings.Dispose |
( |
bool | disposing | ) |
|
|
inlineprotectedvirtual |
◆ __ref_storage_insideAndOutside
| unsafe bool* MR.Const_InSphereSearchSettings.__ref_storage_insideAndOutside |
|
protected |
◆ __ref_storage_maxIters
| unsafe int* MR.Const_InSphereSearchSettings.__ref_storage_maxIters |
|
protected |
◆ __ref_storage_maxRadius
| unsafe float* MR.Const_InSphereSearchSettings.__ref_storage_maxRadius |
|
protected |
◆ __ref_storage_minAngleCos
| unsafe float* MR.Const_InSphereSearchSettings.__ref_storage_minAngleCos |
|
protected |
◆ __ref_storage_minShrinkage
| unsafe float* MR.Const_InSphereSearchSettings.__ref_storage_minShrinkage |
|
protected |
◆ insideAndOutside
| unsafe bool MR.Const_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
| unsafe int MR.Const_InSphereSearchSettings.maxIters |
|
get |
maximum number of shrinking iterations for one triangle
◆ maxRadius
| unsafe float MR.Const_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
| unsafe float MR.Const_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
| unsafe float MR.Const_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: