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

Public Member Functions

auto call (x:&meshlib::Vector3d) const -> meshlib::Vector3d
auto linear_only (x:&meshlib::Vector3d) const -> meshlib::Vector3d
auto inverse () const -> meshlib::AffineXf3d

Static Public Member Functions

static auto new () -> meshlib::AffineXf3d
static auto construct (A:&meshlib::Matrix3d, b:&meshlib::Vector3d) -> meshlib::AffineXf3d
static auto translation (b:&meshlib::Vector3d) -> meshlib::AffineXf3d
static auto linear (A:&meshlib::Matrix3d) -> meshlib::AffineXf3d
static auto xf_around (A:&meshlib::Matrix3d, stable:&meshlib::Vector3d) -> meshlib::AffineXf3d

Public Attributes

meshlib::Matrix3d A
meshlib::Vector3d b

Detailed Description

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

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

Member Function Documentation

◆ call()

auto meshlib::AffineXf3d::call ( x:&meshlib::Vector3d ) const -> meshlib::Vector3d

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

Calls MR_AffineXf3d_call().

◆ construct()

auto meshlib::AffineXf3d::construct ( A:&meshlib::Matrix3d ,
b:&meshlib::Vector3d  ) -> meshlib::AffineXf3d
static

Generated from constructor MR::AffineXf3d::AffineXf3d.

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

◆ inverse()

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

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

Calls MR_AffineXf3d_inverse().

◆ linear()

auto meshlib::AffineXf3d::linear ( A:&meshlib::Matrix3d ) -> meshlib::AffineXf3d
static

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

Calls MR_AffineXf3d_linear().

◆ linear_only()

auto meshlib::AffineXf3d::linear_only ( x:&meshlib::Vector3d ) const -> meshlib::Vector3d

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

Calls MR_AffineXf3d_linearOnly().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_AffineXf3d_DefaultConstruct().

◆ translation()

auto meshlib::AffineXf3d::translation ( b:&meshlib::Vector3d ) -> meshlib::AffineXf3d
static

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

Calls MR_AffineXf3d_translation().

◆ xf_around()

auto meshlib::AffineXf3d::xf_around ( A:&meshlib::Matrix3d ,
stable:&meshlib::Vector3d  ) -> meshlib::AffineXf3d
static

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

Calls MR_AffineXf3d_xfAround().

Member Data Documentation

◆ A

meshlib::Matrix3d meshlib::AffineXf3d::A

◆ b

meshlib::Vector3d meshlib::AffineXf3d::b

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