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

Public Member Functions

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

Static Public Member Functions

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

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

Member Function Documentation

◆ add_assign()

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

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

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

◆ assign_from_another()

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

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

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

◆ construct_from_another()

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

Generated from constructor MR::SymMatrix2b::SymMatrix2b.

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

◆ det()

auto meshlib::SymMatrix2b::det ( ) const -> bool

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

Calls MR_SymMatrix2b_det().

◆ diagonal()

auto meshlib::SymMatrix2b::diagonal ( diagVal:bool ) -> meshlib::Owned< meshlib::SymMatrix2b >
static

Generated from method MR::SymMatrix2b::diagonal.

Calls MR_SymMatrix2b_diagonal().

◆ div_assign()

auto meshlib::SymMatrix2b::div_assign ( b:bool ) -> &mut meshlib::SymMatrix2b

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

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

◆ identity()

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

Generated from method MR::SymMatrix2b::identity.

Calls MR_SymMatrix2b_identity().

◆ inverse_0()

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

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

Calls MR_SymMatrix2b_inverse_0().

◆ inverse_1()

auto meshlib::SymMatrix2b::inverse_1 ( det:bool ) const -> meshlib::Owned< meshlib::SymMatrix2b >

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

Calls MR_SymMatrix2b_inverse_1().

◆ mul_assign()

auto meshlib::SymMatrix2b::mul_assign ( b:bool ) -> &mut meshlib::SymMatrix2b

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

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_SymMatrix2b_DefaultConstruct().

◆ norm_sq()

auto meshlib::SymMatrix2b::norm_sq ( ) const -> bool

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

Calls MR_SymMatrix2b_normSq().

◆ set_xx()

void meshlib::SymMatrix2b::set_xx ( value:bool )

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

Calls MR_SymMatrix2b_Set_xx().

◆ set_xy()

void meshlib::SymMatrix2b::set_xy ( value:bool )

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

Calls MR_SymMatrix2b_Set_xy().

◆ set_yy()

void meshlib::SymMatrix2b::set_yy ( value:bool )

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

Calls MR_SymMatrix2b_Set_yy().

◆ sub_assign()

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

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

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

◆ trace()

auto meshlib::SymMatrix2b::trace ( ) const -> bool

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

Calls MR_SymMatrix2b_trace().

◆ xx()

auto meshlib::SymMatrix2b::xx ( ) const -> &bool

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

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

◆ xx_mut()

auto meshlib::SymMatrix2b::xx_mut ( ) -> &mut bool

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

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

◆ xy()

auto meshlib::SymMatrix2b::xy ( ) const -> &bool

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

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

◆ xy_mut()

auto meshlib::SymMatrix2b::xy_mut ( ) -> &mut bool

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

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

◆ yy()

auto meshlib::SymMatrix2b::yy ( ) const -> &bool

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

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

◆ yy_mut()

auto meshlib::SymMatrix2b::yy_mut ( ) -> &mut bool

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

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