MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::SymMatrix2i:

Public Member Functions

auto assign_from_another (_other:&meshlib::SymMatrix2i) -> &mut meshlib::SymMatrix2i
auto trace () const -> core::ffi::c_int
auto norm_sq () const -> core::ffi::c_int
auto det () const -> core::ffi::c_int
auto inverse_0 () const -> meshlib::Owned< meshlib::SymMatrix2i >
auto inverse_1 (det:core::ffi::c_int) const -> meshlib::Owned< meshlib::SymMatrix2i >
auto add_assign (b:&meshlib::SymMatrix2i) -> &mut meshlib::SymMatrix2i
auto sub_assign (b:&meshlib::SymMatrix2i) -> &mut meshlib::SymMatrix2i
auto mul_assign (b:core::ffi::c_int) -> &mut meshlib::SymMatrix2i
auto div_assign (b:core::ffi::c_int) -> &mut meshlib::SymMatrix2i
auto xx () const -> &core::ffi::c_int
auto xx_mut () -> &mut core::ffi::c_int
void set_xx (value:core::ffi::c_int)
auto xy () const -> &core::ffi::c_int
auto xy_mut () -> &mut core::ffi::c_int
void set_xy (value:core::ffi::c_int)
auto yy () const -> &core::ffi::c_int
auto yy_mut () -> &mut core::ffi::c_int
void set_yy (value:core::ffi::c_int)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::SymMatrix2i >
static auto construct_from_another (_other:&meshlib::SymMatrix2i) -> meshlib::Owned< meshlib::SymMatrix2i >
static auto identity () -> meshlib::Owned< meshlib::SymMatrix2i >
static auto diagonal (diagVal:core::ffi::c_int) -> meshlib::Owned< meshlib::SymMatrix2i >
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

Detailed Description

symmetric 2x2 matrix Generated from class MR::SymMatrix2i.

Generated from class MR::SymMatrix2i. Heap-allocated instances are held in Owned<SymMatrix2i>.

Member Function Documentation

◆ add_assign()

auto meshlib::SymMatrix2i::add_assign ( b:&meshlib::SymMatrix2i ) -> &mut meshlib::SymMatrix2i

Generated from method MR::SymMatrix2i::operator+=.

Calls MR_SymMatrix2i_add_assign(). The reference to this object might be preserved in the return value.

◆ assign_from_another()

auto meshlib::SymMatrix2i::assign_from_another ( _other:&meshlib::SymMatrix2i ) -> &mut meshlib::SymMatrix2i

Generated from method MR::SymMatrix2i::operator=.

Calls MR_SymMatrix2i_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ construct_from_another()

auto meshlib::SymMatrix2i::construct_from_another ( _other:&meshlib::SymMatrix2i ) -> meshlib::Owned< meshlib::SymMatrix2i >
static

Generated from constructor MR::SymMatrix2i::SymMatrix2i.

Calls MR_SymMatrix2i_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ det()

auto meshlib::SymMatrix2i::det ( ) const -> core::ffi::c_int

computes determinant of the matrix Generated from method MR::SymMatrix2i::det.

Calls MR_SymMatrix2i_det().

◆ diagonal()

auto meshlib::SymMatrix2i::diagonal ( diagVal:core::ffi::c_int ) -> meshlib::Owned< meshlib::SymMatrix2i >
static

Generated from method MR::SymMatrix2i::diagonal.

Calls MR_SymMatrix2i_diagonal().

◆ div_assign()

auto meshlib::SymMatrix2i::div_assign ( b:core::ffi::c_int ) -> &mut meshlib::SymMatrix2i

Generated from method MR::SymMatrix2i::operator/=.

Calls MR_SymMatrix2i_div_assign(). The reference to this object might be preserved in the return value.

◆ identity()

auto meshlib::SymMatrix2i::identity ( ) -> meshlib::Owned< meshlib::SymMatrix2i >
static

Generated from method MR::SymMatrix2i::identity.

Calls MR_SymMatrix2i_identity().

◆ inverse_0()

auto meshlib::SymMatrix2i::inverse_0 ( ) const -> meshlib::Owned< meshlib::SymMatrix2i >

computes inverse matrix Generated from method MR::SymMatrix2i::inverse.

Calls MR_SymMatrix2i_inverse_0().

◆ inverse_1()

auto meshlib::SymMatrix2i::inverse_1 ( det:core::ffi::c_int ) const -> meshlib::Owned< meshlib::SymMatrix2i >

computes inverse matrix given determinant of this Generated from method MR::SymMatrix2i::inverse.

Calls MR_SymMatrix2i_inverse_1().

◆ mul_assign()

auto meshlib::SymMatrix2i::mul_assign ( b:core::ffi::c_int ) -> &mut meshlib::SymMatrix2i

Generated from method MR::SymMatrix2i::operator*=.

Calls MR_SymMatrix2i_mul_assign(). The reference to this object might be preserved in the return value.

◆ new()

auto meshlib::SymMatrix2i::new ( ) -> meshlib::Owned< meshlib::SymMatrix2i >
static

Constructs an empty (default-constructed) instance.

Calls MR_SymMatrix2i_DefaultConstruct().

◆ norm_sq()

auto meshlib::SymMatrix2i::norm_sq ( ) const -> core::ffi::c_int

computes the squared norm of the matrix, which is equal to the sum of 4 squared elements Generated from method MR::SymMatrix2i::normSq.

Calls MR_SymMatrix2i_normSq().

◆ set_xx()

void meshlib::SymMatrix2i::set_xx ( value:core::ffi::c_int )

zero matrix by default Modifies a member variable of class MR::SymMatrix2i named xx.

Calls MR_SymMatrix2i_Set_xx().

◆ set_xy()

void meshlib::SymMatrix2i::set_xy ( value:core::ffi::c_int )

zero matrix by default Modifies a member variable of class MR::SymMatrix2i named xy.

Calls MR_SymMatrix2i_Set_xy().

◆ set_yy()

void meshlib::SymMatrix2i::set_yy ( value:core::ffi::c_int )

zero matrix by default Modifies a member variable of class MR::SymMatrix2i named yy.

Calls MR_SymMatrix2i_Set_yy().

◆ sub_assign()

auto meshlib::SymMatrix2i::sub_assign ( b:&meshlib::SymMatrix2i ) -> &mut meshlib::SymMatrix2i

Generated from method MR::SymMatrix2i::operator-=.

Calls MR_SymMatrix2i_sub_assign(). The reference to this object might be preserved in the return value.

◆ trace()

auto meshlib::SymMatrix2i::trace ( ) const -> core::ffi::c_int

computes trace of the matrix Generated from method MR::SymMatrix2i::trace.

Calls MR_SymMatrix2i_trace().

◆ xx()

auto meshlib::SymMatrix2i::xx ( ) const -> &core::ffi::c_int

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2i named xx.

Calls MR_SymMatrix2i_Get_xx(). The reference to this object might be preserved as the return value.

◆ xx_mut()

auto meshlib::SymMatrix2i::xx_mut ( ) -> &mut core::ffi::c_int

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2i named xx.

Calls MR_SymMatrix2i_GetMutable_xx(). The reference to this object might be preserved as the return value.

◆ xy()

auto meshlib::SymMatrix2i::xy ( ) const -> &core::ffi::c_int

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2i named xy.

Calls MR_SymMatrix2i_Get_xy(). The reference to this object might be preserved as the return value.

◆ xy_mut()

auto meshlib::SymMatrix2i::xy_mut ( ) -> &mut core::ffi::c_int

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2i named xy.

Calls MR_SymMatrix2i_GetMutable_xy(). The reference to this object might be preserved as the return value.

◆ yy()

auto meshlib::SymMatrix2i::yy ( ) const -> &core::ffi::c_int

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2i named yy.

Calls MR_SymMatrix2i_Get_yy(). The reference to this object might be preserved as the return value.

◆ yy_mut()

auto meshlib::SymMatrix2i::yy_mut ( ) -> &mut core::ffi::c_int

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2i named yy.

Calls MR_SymMatrix2i_GetMutable_yy(). The reference to this object might be preserved as the return value.


The documentation for this struct was generated from the following file: