Public Member Functions | |
| PlaneAccumulator (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| PlaneAccumulator () | |
| PlaneAccumulator (meshlib.PlaneAccumulator _other) | |
| meshlib.PlaneAccumulator | assignFromAnother (meshlib.PlaneAccumulator _other) |
| void | addPlane (meshlib.Plane3d pl) |
| void | addPlane (meshlib.Plane3f pl) |
| meshlib.Vector3d | findBestCrossPoint (meshlib.Vector3d p0, double tol, meshlib.int_output rank, meshlib.Vector3d space) |
| meshlib.Vector3f | findBestCrossPoint (meshlib.Vector3f p0, float tol, meshlib.int_output rank, meshlib.Vector3f space) |
| 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) | |
Class to accumulate planes to find then their crossing point Generated from class MR::PlaneAccumulator.
Instances created here own their C++ objects, see CppObject.
| meshlib.PlaneAccumulator.PlaneAccumulator | ( | 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.PlaneAccumulator.PlaneAccumulator | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_PlaneAccumulator_DefaultConstruct().
| meshlib.PlaneAccumulator.PlaneAccumulator | ( | meshlib.PlaneAccumulator | _other | ) |
Generated from constructor MR::PlaneAccumulator::PlaneAccumulator. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_PlaneAccumulator_ConstructFromAnother().
| void meshlib.PlaneAccumulator.addPlane | ( | meshlib.Plane3d | pl | ) |
Generated from method MR::PlaneAccumulator::addPlane.
Calls MR_PlaneAccumulator_addPlane_MR_Plane3d().
| void meshlib.PlaneAccumulator.addPlane | ( | meshlib.Plane3f | pl | ) |
Generated from method MR::PlaneAccumulator::addPlane.
Calls MR_PlaneAccumulator_addPlane_MR_Plane3f().
| meshlib.PlaneAccumulator meshlib.PlaneAccumulator.assignFromAnother | ( | meshlib.PlaneAccumulator | _other | ) |
Generated from method MR::PlaneAccumulator::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_PlaneAccumulator_AssignFromAnother().
| meshlib.Vector3d meshlib.PlaneAccumulator.findBestCrossPoint | ( | meshlib.Vector3d | p0, |
| double | tol, | ||
| meshlib.int_output | rank, | ||
| meshlib.Vector3d | space ) |
computes the point that minimizes the sum of squared distances to accumulated planes; if such point is not unique then returns the one closest to p0
| tol | relative epsilon-tolerance for too small number detection |
| rank | optional output for solution matrix rank according to given tolerance |
| space | rank=1: unit normal to solution plane, rank=2: unit direction of solution line, rank=3: zero vector Generated from method MR::PlaneAccumulator::findBestCrossPoint. |
Calls MR_PlaneAccumulator_findBestCrossPoint_MR_Vector3d().
| meshlib.Vector3f meshlib.PlaneAccumulator.findBestCrossPoint | ( | meshlib.Vector3f | p0, |
| float | tol, | ||
| meshlib.int_output | rank, | ||
| meshlib.Vector3f | space ) |
Generated from method MR::PlaneAccumulator::findBestCrossPoint.
Calls MR_PlaneAccumulator_findBestCrossPoint_MR_Vector3f().