Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::SymMatrix3f) -> &mut meshlib::SymMatrix3f |
| auto | trace () const -> f32 |
| auto | norm_sq () const -> f32 |
| auto | det () const -> f32 |
| auto | inverse_0 () const -> meshlib::Owned< meshlib::SymMatrix3f > |
| auto | inverse_1 (det:f32) const -> meshlib::Owned< meshlib::SymMatrix3f > |
| auto | add_assign (b:&meshlib::SymMatrix3f) -> &mut meshlib::SymMatrix3f |
| auto | sub_assign (b:&meshlib::SymMatrix3f) -> &mut meshlib::SymMatrix3f |
| auto | mul_assign (b:f32) -> &mut meshlib::SymMatrix3f |
| auto | div_assign (b:f32) -> &mut meshlib::SymMatrix3f |
| auto | eigens (eigenvectors:Option<&mut meshlib::Matrix3f >) const -> meshlib::Vector3f |
| auto | eigenvector (eigenvalue:f32) const -> meshlib::Vector3f |
| auto | pseudoinverse (tol:Option< f32 >, rank:Option<&mut core::ffi::c_int >, space:Option<&mut meshlib::Vector3f >) const -> meshlib::Owned< meshlib::SymMatrix3f > |
| auto | xx () const -> &f32 |
| auto | xx_mut () -> &mut f32 |
| void | set_xx (value:f32) |
| auto | xy () const -> &f32 |
| auto | xy_mut () -> &mut f32 |
| void | set_xy (value:f32) |
| auto | xz () const -> &f32 |
| auto | xz_mut () -> &mut f32 |
| void | set_xz (value:f32) |
| auto | yy () const -> &f32 |
| auto | yy_mut () -> &mut f32 |
| void | set_yy (value:f32) |
| auto | yz () const -> &f32 |
| auto | yz_mut () -> &mut f32 |
| void | set_yz (value:f32) |
| auto | zz () const -> &f32 |
| auto | zz_mut () -> &mut f32 |
| void | set_zz (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::SymMatrix3f > |
| static auto | construct_from_another (_other:&meshlib::SymMatrix3f) -> meshlib::Owned< meshlib::SymMatrix3f > |
| static auto | identity () -> meshlib::Owned< meshlib::SymMatrix3f > |
| static auto | diagonal (diagVal:f32) -> meshlib::Owned< meshlib::SymMatrix3f > |
| 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 |
symmetric 3x3 matrix Generated from class MR::SymMatrix3f.
Generated from class MR::SymMatrix3f. Heap-allocated instances are held in Owned<SymMatrix3f>.
| auto meshlib::SymMatrix3f::add_assign | ( | b:&meshlib::SymMatrix3f | ) | -> &mut meshlib::SymMatrix3f |
Generated from method MR::SymMatrix3f::operator+=.
Calls MR_SymMatrix3f_add_assign(). The reference to this object might be preserved in the return value.
| auto meshlib::SymMatrix3f::assign_from_another | ( | _other:&meshlib::SymMatrix3f | ) | -> &mut meshlib::SymMatrix3f |
Generated from method MR::SymMatrix3f::operator=.
Calls MR_SymMatrix3f_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::SymMatrix3f::SymMatrix3f.
Calls MR_SymMatrix3f_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::SymMatrix3f::det | ( | ) | const -> f32 |
computes determinant of the matrix Generated from method MR::SymMatrix3f::det.
Calls MR_SymMatrix3f_det().
|
static |
Generated from method MR::SymMatrix3f::diagonal.
Calls MR_SymMatrix3f_diagonal().
| auto meshlib::SymMatrix3f::div_assign | ( | b:f32 | ) | -> &mut meshlib::SymMatrix3f |
Generated from method MR::SymMatrix3f::operator/=.
Calls MR_SymMatrix3f_div_assign(). The reference to this object might be preserved in the return value.
| auto meshlib::SymMatrix3f::eigens | ( | eigenvectors:Option<&mut meshlib::Matrix3f > | ) | const -> meshlib::Vector3f |
returns eigenvalues of the matrix in ascending order (diagonal matrix L), and optionally returns corresponding unit eigenvectors in the rows of orthogonal matrix V, M*V^T = V^T*L; M = V^T*L*V Generated from method MR::SymMatrix3f::eigens.
Calls MR_SymMatrix3f_eigens().
| auto meshlib::SymMatrix3f::eigenvector | ( | eigenvalue:f32 | ) | const -> meshlib::Vector3f |
computes not-unit eigenvector corresponding to a not-repeating eigenvalue Generated from method MR::SymMatrix3f::eigenvector.
Calls MR_SymMatrix3f_eigenvector().
|
static |
Generated from method MR::SymMatrix3f::identity.
Calls MR_SymMatrix3f_identity().
| auto meshlib::SymMatrix3f::inverse_0 | ( | ) | const -> meshlib::Owned< meshlib::SymMatrix3f > |
computes inverse matrix Generated from method MR::SymMatrix3f::inverse.
Calls MR_SymMatrix3f_inverse_0().
| auto meshlib::SymMatrix3f::inverse_1 | ( | det:f32 | ) | const -> meshlib::Owned< meshlib::SymMatrix3f > |
computes inverse matrix given determinant of this Generated from method MR::SymMatrix3f::inverse.
Calls MR_SymMatrix3f_inverse_1().
| auto meshlib::SymMatrix3f::mul_assign | ( | b:f32 | ) | -> &mut meshlib::SymMatrix3f |
Generated from method MR::SymMatrix3f::operator*=.
Calls MR_SymMatrix3f_mul_assign(). The reference to this object might be preserved in the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_SymMatrix3f_DefaultConstruct().
| auto meshlib::SymMatrix3f::norm_sq | ( | ) | const -> f32 |
computes the squared norm of the matrix, which is equal to the sum of 9 squared elements Generated from method MR::SymMatrix3f::normSq.
Calls MR_SymMatrix3f_normSq().
| auto meshlib::SymMatrix3f::pseudoinverse | ( | tol:Option< f32 > | , |
| rank:Option<&mut core::ffi::c_int > | , | ||
| space:Option<&mut meshlib::Vector3f > | ) const -> meshlib::Owned< meshlib::SymMatrix3f > |
for not-degenerate matrix returns just inverse matrix, otherwise returns degenerate matrix, which performs inversion on not-kernel subspace;
| tol | relative epsilon-tolerance for too small number detection |
| rank | optional output for this matrix rank according to given tolerance |
| space | rank=1: unit direction of solution line, rank=2: unit normal to solution plane, rank=3: zero vector Generated from method MR::SymMatrix3f::pseudoinverse. |
Calls MR_SymMatrix3f_pseudoinverse().
| void meshlib::SymMatrix3f::set_xx | ( | value:f32 | ) |
zero matrix by default Modifies a member variable of class MR::SymMatrix3f named xx.
Calls MR_SymMatrix3f_Set_xx().
| void meshlib::SymMatrix3f::set_xy | ( | value:f32 | ) |
zero matrix by default Modifies a member variable of class MR::SymMatrix3f named xy.
Calls MR_SymMatrix3f_Set_xy().
| void meshlib::SymMatrix3f::set_xz | ( | value:f32 | ) |
zero matrix by default Modifies a member variable of class MR::SymMatrix3f named xz.
Calls MR_SymMatrix3f_Set_xz().
| void meshlib::SymMatrix3f::set_yy | ( | value:f32 | ) |
zero matrix by default Modifies a member variable of class MR::SymMatrix3f named yy.
Calls MR_SymMatrix3f_Set_yy().
| void meshlib::SymMatrix3f::set_yz | ( | value:f32 | ) |
zero matrix by default Modifies a member variable of class MR::SymMatrix3f named yz.
Calls MR_SymMatrix3f_Set_yz().
| void meshlib::SymMatrix3f::set_zz | ( | value:f32 | ) |
zero matrix by default Modifies a member variable of class MR::SymMatrix3f named zz.
Calls MR_SymMatrix3f_Set_zz().
| auto meshlib::SymMatrix3f::sub_assign | ( | b:&meshlib::SymMatrix3f | ) | -> &mut meshlib::SymMatrix3f |
Generated from method MR::SymMatrix3f::operator-=.
Calls MR_SymMatrix3f_sub_assign(). The reference to this object might be preserved in the return value.
| auto meshlib::SymMatrix3f::trace | ( | ) | const -> f32 |
computes trace of the matrix Generated from method MR::SymMatrix3f::trace.
Calls MR_SymMatrix3f_trace().
| auto meshlib::SymMatrix3f::xx | ( | ) | const -> &f32 |
zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3f named xx.
Calls MR_SymMatrix3f_Get_xx(). The reference to this object might be preserved as the return value.
| auto meshlib::SymMatrix3f::xx_mut | ( | ) | -> &mut f32 |
zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix3f named xx.
Calls MR_SymMatrix3f_GetMutable_xx(). The reference to this object might be preserved as the return value.
| auto meshlib::SymMatrix3f::xy | ( | ) | const -> &f32 |
zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3f named xy.
Calls MR_SymMatrix3f_Get_xy(). The reference to this object might be preserved as the return value.
| auto meshlib::SymMatrix3f::xy_mut | ( | ) | -> &mut f32 |
zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix3f named xy.
Calls MR_SymMatrix3f_GetMutable_xy(). The reference to this object might be preserved as the return value.
| auto meshlib::SymMatrix3f::xz | ( | ) | const -> &f32 |
zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3f named xz.
Calls MR_SymMatrix3f_Get_xz(). The reference to this object might be preserved as the return value.
| auto meshlib::SymMatrix3f::xz_mut | ( | ) | -> &mut f32 |
zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix3f named xz.
Calls MR_SymMatrix3f_GetMutable_xz(). The reference to this object might be preserved as the return value.
| auto meshlib::SymMatrix3f::yy | ( | ) | const -> &f32 |
zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3f named yy.
Calls MR_SymMatrix3f_Get_yy(). The reference to this object might be preserved as the return value.
| auto meshlib::SymMatrix3f::yy_mut | ( | ) | -> &mut f32 |
zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix3f named yy.
Calls MR_SymMatrix3f_GetMutable_yy(). The reference to this object might be preserved as the return value.
| auto meshlib::SymMatrix3f::yz | ( | ) | const -> &f32 |
zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3f named yz.
Calls MR_SymMatrix3f_Get_yz(). The reference to this object might be preserved as the return value.
| auto meshlib::SymMatrix3f::yz_mut | ( | ) | -> &mut f32 |
zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix3f named yz.
Calls MR_SymMatrix3f_GetMutable_yz(). The reference to this object might be preserved as the return value.
| auto meshlib::SymMatrix3f::zz | ( | ) | const -> &f32 |
zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3f named zz.
Calls MR_SymMatrix3f_Get_zz(). The reference to this object might be preserved as the return value.
| auto meshlib::SymMatrix3f::zz_mut | ( | ) | -> &mut f32 |
zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix3f named zz.
Calls MR_SymMatrix3f_GetMutable_zz(). The reference to this object might be preserved as the return value.