Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::QuadricApprox) -> &mut meshlib::QuadricApprox |
| void | add_point (point:&meshlib::Vector3d, weight:Option< f64 >) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::QuadricApprox > |
| static auto | construct_from_another (_other:&meshlib::QuadricApprox) -> meshlib::Owned< meshlib::QuadricApprox > |
| 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 |
Accumulate points and make best quadric approximation
\( a*x^2 + b*x*y + c*y^2 + d*x + e*y + f = z \) Generated from class MR::QuadricApprox.
Generated from class MR::QuadricApprox. Heap-allocated instances are held in Owned<QuadricApprox>.
| void meshlib::QuadricApprox::add_point | ( | point:&meshlib::Vector3d | , |
| weight:Option< f64 > | ) |
Adds point to accumulation with weight Generated from method MR::QuadricApprox::addPoint.
Calls MR_QuadricApprox_addPoint().
| auto meshlib::QuadricApprox::assign_from_another | ( | _other:&meshlib::QuadricApprox | ) | -> &mut meshlib::QuadricApprox |
Generated from method MR::QuadricApprox::operator=.
Calls MR_QuadricApprox_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::QuadricApprox::QuadricApprox.
Calls MR_QuadricApprox_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_QuadricApprox_DefaultConstruct().