Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::PlaneAccumulator) -> &mut meshlib::PlaneAccumulator |
| void | add_plane_mr_plane3d (pl:&meshlib::Plane3d) |
| void | add_plane_mr_plane3f (pl:&meshlib::Plane3f) |
| auto | find_best_cross_point_mr_vector3d (p0:&meshlib::Vector3d, tol:f64, rank:Option<&mut core::ffi::c_int >, space:Option<&mut meshlib::Vector3d >) const -> meshlib::Vector3d |
| auto | find_best_cross_point_mr_vector3f (p0:&meshlib::Vector3f, tol:f32, rank:Option<&mut core::ffi::c_int >, space:Option<&mut meshlib::Vector3f >) const -> meshlib::Vector3f |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::PlaneAccumulator > |
| static auto | construct_from_another (_other:&meshlib::PlaneAccumulator) -> meshlib::Owned< meshlib::PlaneAccumulator > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
Class to accumulate planes to find then their crossing point Generated from class MR::PlaneAccumulator.
Generated from class MR::PlaneAccumulator. Heap-allocated instances are held in Owned<PlaneAccumulator>.
| void meshlib::PlaneAccumulator::add_plane_mr_plane3d | ( | pl:&meshlib::Plane3d | ) |
Generated from method MR::PlaneAccumulator::addPlane.
Calls MR_PlaneAccumulator_addPlane_MR_Plane3d().
| void meshlib::PlaneAccumulator::add_plane_mr_plane3f | ( | pl:&meshlib::Plane3f | ) |
Generated from method MR::PlaneAccumulator::addPlane.
Calls MR_PlaneAccumulator_addPlane_MR_Plane3f().
| auto meshlib::PlaneAccumulator::assign_from_another | ( | _other:&meshlib::PlaneAccumulator | ) | -> &mut meshlib::PlaneAccumulator |
Generated from method MR::PlaneAccumulator::operator=.
Calls MR_PlaneAccumulator_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::PlaneAccumulator::PlaneAccumulator.
Calls MR_PlaneAccumulator_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::PlaneAccumulator::find_best_cross_point_mr_vector3d | ( | p0:&meshlib::Vector3d | , |
| tol:f64 | , | ||
| rank:Option<&mut core::ffi::c_int > | , | ||
| space:Option<&mut meshlib::Vector3d > | ) const -> meshlib::Vector3d |
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().
| auto meshlib::PlaneAccumulator::find_best_cross_point_mr_vector3f | ( | p0:&meshlib::Vector3f | , |
| tol:f32 | , | ||
| rank:Option<&mut core::ffi::c_int > | , | ||
| space:Option<&mut meshlib::Vector3f > | ) const -> meshlib::Vector3f |
Generated from method MR::PlaneAccumulator::findBestCrossPoint.
Calls MR_PlaneAccumulator_findBestCrossPoint_MR_Vector3f().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_PlaneAccumulator_DefaultConstruct().