Public Member Functions | |
| auto | index (e:core::ffi::c_int) const -> &f64 |
| auto | index_mut (e:core::ffi::c_int) -> &mut f64 |
| auto | length_sq () const -> f64 |
| auto | length () const -> f64 |
| auto | normalized () const -> meshlib::Vector2d |
| auto | furthest_basis_vector () const -> meshlib::Vector2d |
| auto | perpendicular () const -> meshlib::Vector2d |
| auto | is_finite () const -> bool |
Static Public Member Functions | |
| static auto | new () -> meshlib::Vector2d |
| static auto | construct_1 (_1:&meshlib::NoInit) -> meshlib::Vector2d |
| static auto | construct_2 (x:f64, y:f64) -> meshlib::Vector2d |
| static auto | diagonal (a:f64) -> meshlib::Vector2d |
| static auto | plus_x () -> meshlib::Vector2d |
| static auto | plus_y () -> meshlib::Vector2d |
| static auto | minus_x () -> meshlib::Vector2d |
| static auto | minus_y () -> meshlib::Vector2d |
| static auto | elements () -> *const core::ffi::c_int |
Public Attributes | |
| f64 | x |
| f64 | y |
Generated from class MR::Vector2d.
Generated from struct MR::Vector2d. The fields are accessed directly.
|
static |
Generated from constructor MR::Vector2d::Vector2d.
Calls MR_Vector2d_Construct_1(). The reference to the parameter _1 might be preserved in the constructed object.
|
static |
Generated from constructor MR::Vector2d::Vector2d.
Calls MR_Vector2d_Construct_2().
|
static |
Generated from method MR::Vector2d::diagonal.
Calls MR_Vector2d_diagonal().
|
static |
Returns a pointer to a member variable of class MR::Vector2d named elements.
Calls MR_Vector2d_Get_elements().
| auto meshlib::Vector2d::furthest_basis_vector | ( | ) | const -> meshlib::Vector2d |
Generated from method MR::Vector2d::furthestBasisVector.
Calls MR_Vector2d_furthestBasisVector().
| auto meshlib::Vector2d::index | ( | e:core::ffi::c_int | ) | const -> &f64 |
Generated from method MR::Vector2d::operator[].
Calls MR_Vector2d_index().
| auto meshlib::Vector2d::index_mut | ( | e:core::ffi::c_int | ) | -> &mut f64 |
Generated from method MR::Vector2d::operator[].
Calls MR_Vector2d_index_mut().
| auto meshlib::Vector2d::is_finite | ( | ) | const -> bool |
Generated from method MR::Vector2d::isFinite.
Calls MR_Vector2d_isFinite().
| auto meshlib::Vector2d::length | ( | ) | const -> f64 |
Generated from method MR::Vector2d::length.
Calls MR_Vector2d_length().
| auto meshlib::Vector2d::length_sq | ( | ) | const -> f64 |
Generated from method MR::Vector2d::lengthSq.
Calls MR_Vector2d_lengthSq().
|
static |
Generated from method MR::Vector2d::minusX.
Calls MR_Vector2d_minusX().
|
static |
Generated from method MR::Vector2d::minusY.
Calls MR_Vector2d_minusY().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Vector2d_DefaultConstruct().
| auto meshlib::Vector2d::normalized | ( | ) | const -> meshlib::Vector2d |
Generated from method MR::Vector2d::normalized.
Calls MR_Vector2d_normalized().
| auto meshlib::Vector2d::perpendicular | ( | ) | const -> meshlib::Vector2d |
returns same length vector orthogonal to this (rotated 90 degrees counter-clockwise) Generated from method MR::Vector2d::perpendicular.
Calls MR_Vector2d_perpendicular().
|
static |
Generated from method MR::Vector2d::plusX.
Calls MR_Vector2d_plusX().
|
static |
Generated from method MR::Vector2d::plusY.
Calls MR_Vector2d_plusY().
| f64 meshlib::Vector2d::x |
| f64 meshlib::Vector2d::y |