Public Member Functions | |
| InSphereSearchSettings (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| InSphereSearchSettings () | |
| InSphereSearchSettings (boolean insideAndOutside, float maxRadius, int maxIters, float minShrinkage, float minAngleCos) | |
| InSphereSearchSettings (meshlib.InSphereSearchSettings _other) | |
| meshlib.InSphereSearchSettings | assignFromAnother (meshlib.InSphereSearchSettings _other) |
| boolean | insideAndOutside () |
| void | setInsideAndOutside (boolean value) |
| float | maxRadius () |
| void | setMaxRadius (float value) |
| int | maxIters () |
| void | setMaxIters (int value) |
| float | minShrinkage () |
| void | setMinShrinkage (float value) |
| float | minAngleCos () |
| void | setMinAngleCos (float value) |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
controls the finding of maximal inscribed sphere in mesh Generated from class MR::InSphereSearchSettings.
Instances created here own their C++ objects, see CppObject.
| meshlib.InSphereSearchSettings.InSphereSearchSettings | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.InSphereSearchSettings.InSphereSearchSettings | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_InSphereSearchSettings_DefaultConstruct().
| meshlib.InSphereSearchSettings.InSphereSearchSettings | ( | boolean | insideAndOutside, |
| float | maxRadius, | ||
| int | maxIters, | ||
| float | minShrinkage, | ||
| float | minAngleCos ) |
Constructs MR::InSphereSearchSettings elementwise.
Calls MR_InSphereSearchSettings_ConstructFrom().
| meshlib.InSphereSearchSettings.InSphereSearchSettings | ( | meshlib.InSphereSearchSettings | _other | ) |
Generated from constructor MR::InSphereSearchSettings::InSphereSearchSettings. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_InSphereSearchSettings_ConstructFromAnother().
| meshlib.InSphereSearchSettings meshlib.InSphereSearchSettings.assignFromAnother | ( | meshlib.InSphereSearchSettings | _other | ) |
Generated from method MR::InSphereSearchSettings::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_InSphereSearchSettings_AssignFromAnother().
| boolean meshlib.InSphereSearchSettings.insideAndOutside | ( | ) |
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 Returns a pointer to a member variable of class MR::InSphereSearchSettings named insideAndOutside. The reference to this object might be preserved as the return value.
Calls MR_InSphereSearchSettings_Get_insideAndOutside().
| int meshlib.InSphereSearchSettings.maxIters | ( | ) |
maximum number of shrinking iterations for one triangle Returns a pointer to a member variable of class MR::InSphereSearchSettings named maxIters. The reference to this object might be preserved as the return value.
Calls MR_InSphereSearchSettings_Get_maxIters().
| float meshlib.InSphereSearchSettings.maxRadius | ( | ) |
maximum allowed radius of the sphere; for almost closed meshes the article recommends maxRadius = 0.5f * std::min( { boxSize.x, boxSize.y, boxSize.z } ) Returns a pointer to a member variable of class MR::InSphereSearchSettings named maxRadius. The reference to this object might be preserved as the return value.
Calls MR_InSphereSearchSettings_Get_maxRadius().
| float meshlib.InSphereSearchSettings.minAngleCos | ( | ) |
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 Returns a pointer to a member variable of class MR::InSphereSearchSettings named minAngleCos. The reference to this object might be preserved as the return value.
Calls MR_InSphereSearchSettings_Get_minAngleCos().
| float meshlib.InSphereSearchSettings.minShrinkage | ( | ) |
iterations stop if next radius is larger than minShrinkage times previous radius Returns a pointer to a member variable of class MR::InSphereSearchSettings named minShrinkage. The reference to this object might be preserved as the return value.
Calls MR_InSphereSearchSettings_Get_minShrinkage().
| void meshlib.InSphereSearchSettings.setInsideAndOutside | ( | boolean | value | ) |
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 Modifies a member variable of class MR::InSphereSearchSettings named insideAndOutside.
Calls MR_InSphereSearchSettings_Set_insideAndOutside().
| void meshlib.InSphereSearchSettings.setMaxIters | ( | int | value | ) |
maximum number of shrinking iterations for one triangle Modifies a member variable of class MR::InSphereSearchSettings named maxIters.
Calls MR_InSphereSearchSettings_Set_maxIters().
| void meshlib.InSphereSearchSettings.setMaxRadius | ( | float | value | ) |
maximum allowed radius of the sphere; for almost closed meshes the article recommends maxRadius = 0.5f * std::min( { boxSize.x, boxSize.y, boxSize.z } ) Modifies a member variable of class MR::InSphereSearchSettings named maxRadius.
Calls MR_InSphereSearchSettings_Set_maxRadius().
| void meshlib.InSphereSearchSettings.setMinAngleCos | ( | float | value | ) |
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 Modifies a member variable of class MR::InSphereSearchSettings named minAngleCos.
Calls MR_InSphereSearchSettings_Set_minAngleCos().
| void meshlib.InSphereSearchSettings.setMinShrinkage | ( | float | value | ) |
iterations stop if next radius is larger than minShrinkage times previous radius Modifies a member variable of class MR::InSphereSearchSettings named minShrinkage.
Calls MR_InSphereSearchSettings_Set_minShrinkage().