Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::BestFitParabolad) -> &mut meshlib::BestFitParabolad |
| void | add_point_2 (x:f64, y:f64) |
| void | add_point_3 (x:f64, y:f64, weight:f64) |
| auto | get_best_parabola (tol:Option< f64 >) const -> meshlib::Owned< meshlib::Parabolad > |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::BestFitParabolad > |
| static auto | construct_from_another (_other:&meshlib::BestFitParabolad) -> meshlib::Owned< meshlib::BestFitParabolad > |
| 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::BestFitParabolad.
Generated from class MR::BestFitParabolad. Heap-allocated instances are held in Owned<BestFitParabolad>.
| void meshlib::BestFitParabolad::add_point_2 | ( | x:f64 | , |
| y:f64 | ) |
accumulates one more point for parabola fitting Generated from method MR::BestFitParabolad::addPoint.
Calls MR_BestFitParabolad_addPoint_2().
| void meshlib::BestFitParabolad::add_point_3 | ( | x:f64 | , |
| y:f64 | , | ||
| weight:f64 | ) |
accumulates one more point with given weight for parabola fitting Generated from method MR::BestFitParabolad::addPoint.
Calls MR_BestFitParabolad_addPoint_3().
| auto meshlib::BestFitParabolad::assign_from_another | ( | _other:&meshlib::BestFitParabolad | ) | -> &mut meshlib::BestFitParabolad |
Generated from method MR::BestFitParabolad::operator=.
Calls MR_BestFitParabolad_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::BestFitParabolad::BestFitParabolad.
Calls MR_BestFitParabolad_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::BestFitParabolad::get_best_parabola | ( | tol:Option< f64 > | ) | const -> meshlib::Owned< meshlib::Parabolad > |
computes the best approximating parabola from the accumulated points; Generated from method MR::BestFitParabolad::getBestParabola.
Calls MR_BestFitParabolad_getBestParabola().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_BestFitParabolad_DefaultConstruct().