Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::QuadraticForm3d) -> &mut meshlib::QuadraticForm3d |
| auto | eval (x:&meshlib::Vector3d) const -> f64 |
| void | add_dist_to_origin (weight:f64) |
| void | add_dist_to_plane_1 (planeUnitNormal:&meshlib::Vector3d) |
| void | add_dist_to_plane_2 (planeUnitNormal:&meshlib::Vector3d, weight:f64) |
| void | add_dist_to_line_1 (lineUnitDir:&meshlib::Vector3d) |
| void | add_dist_to_line_2 (lineUnitDir:&meshlib::Vector3d, weight:f64) |
| auto | a () const -> &meshlib::SymMatrix3d |
| auto | a_mut () -> &mut meshlib::SymMatrix3d |
| void | set_a (value:&meshlib::SymMatrix3d) |
| auto | c () const -> &f64 |
| auto | c_mut () -> &mut f64 |
| void | set_c (value:f64) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::QuadraticForm3d > |
| static auto | construct_from (A:&meshlib::SymMatrix3d, c:f64) -> meshlib::Owned< meshlib::QuadraticForm3d > |
| static auto | construct_from_another (_other:&meshlib::QuadraticForm3d) -> meshlib::Owned< meshlib::QuadraticForm3d > |
| 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 |
quadratic form: f = x^T A x + c Generated from class MR::QuadraticForm3d.
Generated from class MR::QuadraticForm3d. Heap-allocated instances are held in Owned<QuadraticForm3d>.
| auto meshlib::QuadraticForm3d::a | ( | ) | const -> &meshlib::SymMatrix3d |
Returns a pointer to a member variable of class MR::QuadraticForm3d named A.
Calls MR_QuadraticForm3d_Get_A(). The reference to this object might be preserved as the return value.
| auto meshlib::QuadraticForm3d::a_mut | ( | ) | -> &mut meshlib::SymMatrix3d |
Returns a mutable pointer to a member variable of class MR::QuadraticForm3d named A.
Calls MR_QuadraticForm3d_GetMutable_A(). The reference to this object might be preserved as the return value.
| void meshlib::QuadraticForm3d::add_dist_to_line_1 | ( | lineUnitDir:&meshlib::Vector3d | ) |
adds to this squared distance to line passing via origin with given unit direction Generated from method MR::QuadraticForm3d::addDistToLine.
Calls MR_QuadraticForm3d_addDistToLine_1().
| void meshlib::QuadraticForm3d::add_dist_to_line_2 | ( | lineUnitDir:&meshlib::Vector3d | , |
| weight:f64 | ) |
Generated from method MR::QuadraticForm3d::addDistToLine.
Calls MR_QuadraticForm3d_addDistToLine_2().
| void meshlib::QuadraticForm3d::add_dist_to_origin | ( | weight:f64 | ) |
adds to this squared distance to the origin point Generated from method MR::QuadraticForm3d::addDistToOrigin.
Calls MR_QuadraticForm3d_addDistToOrigin().
| void meshlib::QuadraticForm3d::add_dist_to_plane_1 | ( | planeUnitNormal:&meshlib::Vector3d | ) |
adds to this squared distance to plane passing via origin with given unit normal Generated from method MR::QuadraticForm3d::addDistToPlane.
Calls MR_QuadraticForm3d_addDistToPlane_1().
| void meshlib::QuadraticForm3d::add_dist_to_plane_2 | ( | planeUnitNormal:&meshlib::Vector3d | , |
| weight:f64 | ) |
Generated from method MR::QuadraticForm3d::addDistToPlane.
Calls MR_QuadraticForm3d_addDistToPlane_2().
| auto meshlib::QuadraticForm3d::assign_from_another | ( | _other:&meshlib::QuadraticForm3d | ) | -> &mut meshlib::QuadraticForm3d |
Generated from method MR::QuadraticForm3d::operator=.
Calls MR_QuadraticForm3d_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::QuadraticForm3d::c | ( | ) | const -> &f64 |
Returns a pointer to a member variable of class MR::QuadraticForm3d named c.
Calls MR_QuadraticForm3d_Get_c(). The reference to this object might be preserved as the return value.
| auto meshlib::QuadraticForm3d::c_mut | ( | ) | -> &mut f64 |
Returns a mutable pointer to a member variable of class MR::QuadraticForm3d named c.
Calls MR_QuadraticForm3d_GetMutable_c(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::QuadraticForm3d elementwise.
Calls MR_QuadraticForm3d_ConstructFrom(). The reference to the parameter A might be preserved in the constructed object.
|
static |
Generated from constructor MR::QuadraticForm3d::QuadraticForm3d.
Calls MR_QuadraticForm3d_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::QuadraticForm3d::eval | ( | x:&meshlib::Vector3d | ) | const -> f64 |
evaluates the function at given x Generated from method MR::QuadraticForm3d::eval.
Calls MR_QuadraticForm3d_eval().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_QuadraticForm3d_DefaultConstruct().
| void meshlib::QuadraticForm3d::set_a | ( | value:&meshlib::SymMatrix3d | ) |
Modifies a member variable of class MR::QuadraticForm3d named A.
Calls MR_QuadraticForm3d_Set_A(). The reference to the parameter value might be preserved in this object in element A.
| void meshlib::QuadraticForm3d::set_c | ( | value:f64 | ) |
Modifies a member variable of class MR::QuadraticForm3d named c.
Calls MR_QuadraticForm3d_Set_c().