Public Member Functions | |
| auto | index (row:core::ffi::c_int) const -> &meshlib::Vector3b |
| auto | index_mut (row:core::ffi::c_int) -> &mut meshlib::Vector3b |
| auto | col (i:core::ffi::c_int) const -> meshlib::Vector3b |
| auto | trace () const -> bool |
| auto | norm_sq () const -> bool |
| auto | norm () const -> f64 |
| auto | det () const -> bool |
| auto | transposed () const -> meshlib::Matrix3b |
Static Public Member Functions | |
| static auto | new () -> meshlib::Matrix3b |
| static auto | construct (x:&meshlib::Vector3b, y:&meshlib::Vector3b, z:&meshlib::Vector3b) -> meshlib::Matrix3b |
| static auto | zero () -> meshlib::Matrix3b |
| static auto | identity () -> meshlib::Matrix3b |
| static auto | scale_1_bool (s:bool) -> meshlib::Matrix3b |
| static auto | scale_3 (sx:bool, sy:bool, sz:bool) -> meshlib::Matrix3b |
| static auto | scale_1_mr_vector3b (s:&meshlib::Vector3b) -> meshlib::Matrix3b |
| static auto | from_rows (x:&meshlib::Vector3b, y:&meshlib::Vector3b, z:&meshlib::Vector3b) -> meshlib::Matrix3b |
| static auto | from_columns (x:&meshlib::Vector3b, y:&meshlib::Vector3b, z:&meshlib::Vector3b) -> meshlib::Matrix3b |
Public Attributes | |
| meshlib::Vector3b | x |
| rows, identity matrix by default | |
| meshlib::Vector3b | y |
| meshlib::Vector3b | z |
arbitrary 3x3 matrix Generated from class MR::Matrix3b.
Generated from struct MR::Matrix3b. The fields are accessed directly.
| auto meshlib::Matrix3b::col | ( | i:core::ffi::c_int | ) | const -> meshlib::Vector3b |
column access Generated from method MR::Matrix3b::col.
Calls MR_Matrix3b_col().
|
static |
initializes matrix from its 3 rows Generated from constructor MR::Matrix3b::Matrix3b.
Calls MR_Matrix3b_Construct(). The reference to the parameter x might be preserved in the constructed object. The reference to the parameter y might be preserved in the constructed object. The reference to the parameter z might be preserved in the constructed object.
| auto meshlib::Matrix3b::det | ( | ) | const -> bool |
computes determinant of the matrix Generated from method MR::Matrix3b::det.
Calls MR_Matrix3b_det().
|
static |
constructs a matrix from its 3 columns; use this method to get the matrix that transforms basis vectors ( plusX, plusY, plusZ ) into vectors ( x, y, z ) respectively Generated from method MR::Matrix3b::fromColumns.
Calls MR_Matrix3b_fromColumns().
|
static |
constructs a matrix from its 3 rows Generated from method MR::Matrix3b::fromRows.
Calls MR_Matrix3b_fromRows().
|
static |
Generated from method MR::Matrix3b::identity.
Calls MR_Matrix3b_identity().
| auto meshlib::Matrix3b::index | ( | row:core::ffi::c_int | ) | const -> &meshlib::Vector3b |
row access Generated from method MR::Matrix3b::operator[].
Calls MR_Matrix3b_index().
| auto meshlib::Matrix3b::index_mut | ( | row:core::ffi::c_int | ) | -> &mut meshlib::Vector3b |
Generated from method MR::Matrix3b::operator[].
Calls MR_Matrix3b_index_mut().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Matrix3b_DefaultConstruct().
| auto meshlib::Matrix3b::norm | ( | ) | const -> f64 |
Generated from method MR::Matrix3b::norm.
Calls MR_Matrix3b_norm().
| auto meshlib::Matrix3b::norm_sq | ( | ) | const -> bool |
compute sum of squared matrix elements Generated from method MR::Matrix3b::normSq.
Calls MR_Matrix3b_normSq().
|
static |
returns a matrix that scales uniformly Generated from method MR::Matrix3b::scale.
Calls MR_Matrix3b_scale_1_bool().
|
static |
Generated from method MR::Matrix3b::scale.
Calls MR_Matrix3b_scale_1_MR_Vector3b().
|
static |
returns a matrix that has its own scale along each axis Generated from method MR::Matrix3b::scale.
Calls MR_Matrix3b_scale_3().
| auto meshlib::Matrix3b::trace | ( | ) | const -> bool |
computes trace of the matrix Generated from method MR::Matrix3b::trace.
Calls MR_Matrix3b_trace().
| auto meshlib::Matrix3b::transposed | ( | ) | const -> meshlib::Matrix3b |
computes transposed matrix Generated from method MR::Matrix3b::transposed.
Calls MR_Matrix3b_transposed().
|
static |
Generated from method MR::Matrix3b::zero.
Calls MR_Matrix3b_zero().
| meshlib::Vector3b meshlib::Matrix3b::x |
rows, identity matrix by default
| meshlib::Vector3b meshlib::Matrix3b::y |
| meshlib::Vector3b meshlib::Matrix3b::z |