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

Public Member Functions

auto call (x:&meshlib::Vector3f) const -> meshlib::Vector3f
auto linear_only (x:&meshlib::Vector3f) const -> meshlib::Vector3f
auto inverse () const -> meshlib::AffineXf3f

Static Public Member Functions

static auto new () -> meshlib::AffineXf3f
static auto construct (A:&meshlib::Matrix3f, b:&meshlib::Vector3f) -> meshlib::AffineXf3f
static auto construct_mr_vector3d (xf:&meshlib::AffineXf3d) -> meshlib::AffineXf3f
static auto translation (b:&meshlib::Vector3f) -> meshlib::AffineXf3f
static auto linear (A:&meshlib::Matrix3f) -> meshlib::AffineXf3f
static auto xf_around (A:&meshlib::Matrix3f, stable:&meshlib::Vector3f) -> meshlib::AffineXf3f

Public Attributes

meshlib::Matrix3f A
meshlib::Vector3f b

Detailed Description

affine transformation: y = A*x + b, where A in VxV, and b in V Generated from class MR::AffineXf3f.

Generated from struct MR::AffineXf3f. The fields are accessed directly.

Member Function Documentation

◆ call()

auto meshlib::AffineXf3f::call ( x:&meshlib::Vector3f ) const -> meshlib::Vector3f

application of the transformation to a point Generated from method MR::AffineXf3f::operator().

Calls MR_AffineXf3f_call().

◆ construct()

auto meshlib::AffineXf3f::construct ( A:&meshlib::Matrix3f ,
b:&meshlib::Vector3f  ) -> meshlib::AffineXf3f
static

Generated from constructor MR::AffineXf3f::AffineXf3f.

Calls MR_AffineXf3f_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.

◆ construct_mr_vector3d()

auto meshlib::AffineXf3f::construct_mr_vector3d ( xf:&meshlib::AffineXf3d ) -> meshlib::AffineXf3f
static

Here U == V doesn't seem to cause any issues in the C++ code, but we're still disabling it because it somehow gets emitted when generating the bindings, and results in duplicate functions in C#. Generated from constructor MR::AffineXf3f::AffineXf3f.

Calls MR_AffineXf3f_Construct_MR_Vector3d(). The reference to the parameter xf might be preserved in the constructed object.

◆ inverse()

auto meshlib::AffineXf3f::inverse ( ) const -> meshlib::AffineXf3f

computes inverse transformation Generated from method MR::AffineXf3f::inverse.

Calls MR_AffineXf3f_inverse().

◆ linear()

auto meshlib::AffineXf3f::linear ( A:&meshlib::Matrix3f ) -> meshlib::AffineXf3f
static

creates linear-only transformation (without translation) Generated from method MR::AffineXf3f::linear.

Calls MR_AffineXf3f_linear().

◆ linear_only()

auto meshlib::AffineXf3f::linear_only ( x:&meshlib::Vector3f ) const -> meshlib::Vector3f

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::AffineXf3f::linearOnly.

Calls MR_AffineXf3f_linearOnly().

◆ new()

auto meshlib::AffineXf3f::new ( ) -> meshlib::AffineXf3f
static

Constructs an empty (default-constructed) instance.

Calls MR_AffineXf3f_DefaultConstruct().

◆ translation()

auto meshlib::AffineXf3f::translation ( b:&meshlib::Vector3f ) -> meshlib::AffineXf3f
static

creates translation-only transformation (with identity linear component) Generated from method MR::AffineXf3f::translation.

Calls MR_AffineXf3f_translation().

◆ xf_around()

auto meshlib::AffineXf3f::xf_around ( A:&meshlib::Matrix3f ,
stable:&meshlib::Vector3f  ) -> meshlib::AffineXf3f
static

creates transformation with given linear part with given stable point Generated from method MR::AffineXf3f::xfAround.

Calls MR_AffineXf3f_xfAround().

Member Data Documentation

◆ A

meshlib::Matrix3f meshlib::AffineXf3f::A

◆ b

meshlib::Vector3f meshlib::AffineXf3f::b

The documentation for this struct was generated from the following file: