Public Member Functions | |
| auto | call (x:&meshlib::Vector2d) const -> meshlib::Vector2d |
| auto | linear_only (x:&meshlib::Vector2d) const -> meshlib::Vector2d |
| auto | inverse () const -> meshlib::AffineXf2d |
Static Public Member Functions | |
| static auto | new () -> meshlib::AffineXf2d |
| static auto | construct (A:&meshlib::Matrix2d, b:&meshlib::Vector2d) -> meshlib::AffineXf2d |
| static auto | translation (b:&meshlib::Vector2d) -> meshlib::AffineXf2d |
| static auto | linear (A:&meshlib::Matrix2d) -> meshlib::AffineXf2d |
| static auto | xf_around (A:&meshlib::Matrix2d, stable:&meshlib::Vector2d) -> meshlib::AffineXf2d |
Public Attributes | |
| meshlib::Matrix2d | A |
| meshlib::Vector2d | b |
affine transformation: y = A*x + b, where A in VxV, and b in V Generated from class MR::AffineXf2d.
Generated from struct MR::AffineXf2d. The fields are accessed directly.
| auto meshlib::AffineXf2d::call | ( | x:&meshlib::Vector2d | ) | const -> meshlib::Vector2d |
application of the transformation to a point Generated from method MR::AffineXf2d::operator().
Calls MR_AffineXf2d_call().
|
static |
Generated from constructor MR::AffineXf2d::AffineXf2d.
Calls MR_AffineXf2d_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::AffineXf2d::inverse | ( | ) | const -> meshlib::AffineXf2d |
computes inverse transformation Generated from method MR::AffineXf2d::inverse.
Calls MR_AffineXf2d_inverse().
|
static |
creates linear-only transformation (without translation) Generated from method MR::AffineXf2d::linear.
Calls MR_AffineXf2d_linear().
| auto meshlib::AffineXf2d::linear_only | ( | x:&meshlib::Vector2d | ) | const -> meshlib::Vector2d |
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::AffineXf2d::linearOnly.
Calls MR_AffineXf2d_linearOnly().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_AffineXf2d_DefaultConstruct().
|
static |
creates translation-only transformation (with identity linear component) Generated from method MR::AffineXf2d::translation.
Calls MR_AffineXf2d_translation().
|
static |
creates transformation with given linear part with given stable point Generated from method MR::AffineXf2d::xfAround.
Calls MR_AffineXf2d_xfAround().
| meshlib::Matrix2d meshlib::AffineXf2d::A |
| meshlib::Vector2d meshlib::AffineXf2d::b |