Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::BestFitParabolaf) -> &mut meshlib::BestFitParabolaf |
| void | add_point_2 (x:f32, y:f32) |
| void | add_point_3 (x:f32, y:f32, weight:f32) |
| auto | get_best_parabola (tol:Option< f32 >) const -> meshlib::Owned< meshlib::Parabolaf > |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::BestFitParabolaf > |
| static auto | construct_from_another (_other:&meshlib::BestFitParabolaf) -> meshlib::Owned< meshlib::BestFitParabolaf > |
| 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 |
accumulates a number of (x,y) points to find the best-least-squares parabola approximating them Generated from class MR::BestFitParabolaf.
Generated from class MR::BestFitParabolaf. Heap-allocated instances are held in Owned<BestFitParabolaf>.
| void meshlib::BestFitParabolaf::add_point_2 | ( | x:f32 | , |
| y:f32 | ) |
accumulates one more point for parabola fitting Generated from method MR::BestFitParabolaf::addPoint.
Calls MR_BestFitParabolaf_addPoint_2().
| void meshlib::BestFitParabolaf::add_point_3 | ( | x:f32 | , |
| y:f32 | , | ||
| weight:f32 | ) |
accumulates one more point with given weight for parabola fitting Generated from method MR::BestFitParabolaf::addPoint.
Calls MR_BestFitParabolaf_addPoint_3().
| auto meshlib::BestFitParabolaf::assign_from_another | ( | _other:&meshlib::BestFitParabolaf | ) | -> &mut meshlib::BestFitParabolaf |
Generated from method MR::BestFitParabolaf::operator=.
Calls MR_BestFitParabolaf_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::BestFitParabolaf::BestFitParabolaf.
Calls MR_BestFitParabolaf_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::BestFitParabolaf::get_best_parabola | ( | tol:Option< f32 > | ) | const -> meshlib::Owned< meshlib::Parabolaf > |
computes the best approximating parabola from the accumulated points; Generated from method MR::BestFitParabolaf::getBestParabola.
Calls MR_BestFitParabolaf_getBestParabola().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_BestFitParabolaf_DefaultConstruct().