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] |
| |
| unsafe float | maxRadius [get] |
| |
|
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] |
| |
|
virtual bool | _IsOwning [get] |
| | Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
|
| |
controls the finding of maximal inscribed sphere in mesh Generated from class MR.InSphereSearchSettings. This is the const half of the class.
◆ 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
◆ 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
The documentation for this class was generated from the following file: