MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::SymMatrix2i64 Struct Reference
Inheritance diagram for meshlib::SymMatrix2i64:

Public Member Functions

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

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::SymMatrix2i64 >
static auto construct_from_another (_other:&meshlib::SymMatrix2i64) -> meshlib::Owned< meshlib::SymMatrix2i64 >
static auto identity () -> meshlib::Owned< meshlib::SymMatrix2i64 >
static auto diagonal (diagVal:i64) -> meshlib::Owned< meshlib::SymMatrix2i64 >
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::SymMatrix2i64.

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

Member Function Documentation

◆ add_assign()

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

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

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

◆ assign_from_another()

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

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

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

◆ construct_from_another()

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

Generated from constructor MR::SymMatrix2i64::SymMatrix2i64.

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

◆ det()

auto meshlib::SymMatrix2i64::det ( ) const -> i64

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

Calls MR_SymMatrix2i64_det().

◆ diagonal()

auto meshlib::SymMatrix2i64::diagonal ( diagVal:i64 ) -> meshlib::Owned< meshlib::SymMatrix2i64 >
static

Generated from method MR::SymMatrix2i64::diagonal.

Calls MR_SymMatrix2i64_diagonal().

◆ div_assign()

auto meshlib::SymMatrix2i64::div_assign ( b:i64 ) -> &mut meshlib::SymMatrix2i64

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

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

◆ identity()

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

Generated from method MR::SymMatrix2i64::identity.

Calls MR_SymMatrix2i64_identity().

◆ inverse_0()

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

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

Calls MR_SymMatrix2i64_inverse_0().

◆ inverse_1()

auto meshlib::SymMatrix2i64::inverse_1 ( det:i64 ) const -> meshlib::Owned< meshlib::SymMatrix2i64 >

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

Calls MR_SymMatrix2i64_inverse_1().

◆ mul_assign()

auto meshlib::SymMatrix2i64::mul_assign ( b:i64 ) -> &mut meshlib::SymMatrix2i64

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

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_SymMatrix2i64_DefaultConstruct().

◆ norm_sq()

auto meshlib::SymMatrix2i64::norm_sq ( ) const -> i64

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

Calls MR_SymMatrix2i64_normSq().

◆ set_xx()

void meshlib::SymMatrix2i64::set_xx ( value:i64 )

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

Calls MR_SymMatrix2i64_Set_xx(). The reference to the parameter value might be preserved in this object in element xx.

◆ set_xy()

void meshlib::SymMatrix2i64::set_xy ( value:i64 )

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

Calls MR_SymMatrix2i64_Set_xy(). The reference to the parameter value might be preserved in this object in element xy.

◆ set_yy()

void meshlib::SymMatrix2i64::set_yy ( value:i64 )

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

Calls MR_SymMatrix2i64_Set_yy(). The reference to the parameter value might be preserved in this object in element yy.

◆ sub_assign()

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

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

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

◆ trace()

auto meshlib::SymMatrix2i64::trace ( ) const -> i64

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

Calls MR_SymMatrix2i64_trace().

◆ xx()

auto meshlib::SymMatrix2i64::xx ( ) const -> &i64

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

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

◆ xx_mut()

auto meshlib::SymMatrix2i64::xx_mut ( ) -> &mut i64

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

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

◆ xy()

auto meshlib::SymMatrix2i64::xy ( ) const -> &i64

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

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

◆ xy_mut()

auto meshlib::SymMatrix2i64::xy_mut ( ) -> &mut i64

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

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

◆ yy()

auto meshlib::SymMatrix2i64::yy ( ) const -> &i64

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

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

◆ yy_mut()

auto meshlib::SymMatrix2i64::yy_mut ( ) -> &mut i64

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

Calls MR_SymMatrix2i64_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: