Public Member Functions | |
| auto | call (x:&meshlib::Vector2f) const -> meshlib::Vector2f |
| auto | linear_only (x:&meshlib::Vector2f) const -> meshlib::Vector2f |
| auto | inverse () const -> meshlib::AffineXf2f |
Static Public Member Functions | |
| static auto | new () -> meshlib::AffineXf2f |
| static auto | construct (A:&meshlib::Matrix2f, b:&meshlib::Vector2f) -> meshlib::AffineXf2f |
| static auto | translation (b:&meshlib::Vector2f) -> meshlib::AffineXf2f |
| static auto | linear (A:&meshlib::Matrix2f) -> meshlib::AffineXf2f |
| static auto | xf_around (A:&meshlib::Matrix2f, stable:&meshlib::Vector2f) -> meshlib::AffineXf2f |
Public Attributes | |
| meshlib::Matrix2f | A |
| meshlib::Vector2f | b |
affine transformation: y = A*x + b, where A in VxV, and b in V Generated from class MR::AffineXf2f.
Generated from struct MR::AffineXf2f. The fields are accessed directly.
| auto meshlib::AffineXf2f::call | ( | x:&meshlib::Vector2f | ) | const -> meshlib::Vector2f |
application of the transformation to a point Generated from method MR::AffineXf2f::operator().
Calls MR_AffineXf2f_call().
|
static |
Generated from constructor MR::AffineXf2f::AffineXf2f.
Calls MR_AffineXf2f_Construct(). The reference to the parameter A might be preserved in the constructed object. The reference to the parameter b might be preserved in the constructed object.
| auto meshlib::AffineXf2f::inverse | ( | ) | const -> meshlib::AffineXf2f |
computes inverse transformation Generated from method MR::AffineXf2f::inverse.
Calls MR_AffineXf2f_inverse().
|
static |
creates linear-only transformation (without translation) Generated from method MR::AffineXf2f::linear.
Calls MR_AffineXf2f_linear().
| auto meshlib::AffineXf2f::linear_only | ( | x:&meshlib::Vector2f | ) | const -> meshlib::Vector2f |
applies only linear part of the transformation to given vector (e.g. to normal) skipping adding shift (b) for example if this is a rigid transformation, then only rotates input vector Generated from method MR::AffineXf2f::linearOnly.
Calls MR_AffineXf2f_linearOnly().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_AffineXf2f_DefaultConstruct().
|
static |
creates translation-only transformation (with identity linear component) Generated from method MR::AffineXf2f::translation.
Calls MR_AffineXf2f_translation().
|
static |
creates transformation with given linear part with given stable point Generated from method MR::AffineXf2f::xfAround.
Calls MR_AffineXf2f_xfAround().
| meshlib::Matrix2f meshlib::AffineXf2f::A |
| meshlib::Vector2f meshlib::AffineXf2f::b |