MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::RigidScaleXf3d Struct Reference
Inheritance diagram for meshlib::RigidScaleXf3d:

Public Member Functions

auto assign_from_another (_other:&meshlib::RigidScaleXf3d) -> &mut meshlib::RigidScaleXf3d
auto rigid_scale_xf () const -> meshlib::AffineXf3d
auto linear_xf () const -> meshlib::AffineXf3d
auto a () const -> &meshlib::Vector3d
auto a_mut () -> &mut meshlib::Vector3d
void set_a (value:meshlib::Vector3d)
auto b () const -> &meshlib::Vector3d
auto b_mut () -> &mut meshlib::Vector3d
void set_b (value:meshlib::Vector3d)
auto s () const -> &f64
auto s_mut () -> &mut f64
void set_s (value:f64)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::RigidScaleXf3d >
static auto construct_from_another (_other:&meshlib::RigidScaleXf3d) -> meshlib::Owned< meshlib::RigidScaleXf3d >
static auto construct (a:&meshlib::Vector3d, b:&meshlib::Vector3d, s:f64) -> meshlib::Owned< meshlib::RigidScaleXf3d >
Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)
Static Public Member Functions inherited from meshlib::CppCopy
static auto copy (ptr:*const Self) -> *mut Self

Detailed Description

rigid (with scale) transformation that multiplies all distances on same scale: y = s*A*x + b, where s is a scalar, A is rotation matrix 3x3 stored as 3 angles, and b is shift vector Generated from class MR::RigidScaleXf3d.

Generated from class MR::RigidScaleXf3d. Heap-allocated instances are held in Owned<RigidScaleXf3d>.

Member Function Documentation

◆ a()

auto meshlib::RigidScaleXf3d::a ( ) const -> &meshlib::Vector3d

< rotation angles relative to x,y,z axes Returns a pointer to a member variable of class MR::RigidScaleXf3d named a.

Calls MR_RigidScaleXf3d_Get_a(). The reference to this object might be preserved as the return value.

◆ a_mut()

auto meshlib::RigidScaleXf3d::a_mut ( ) -> &mut meshlib::Vector3d

< rotation angles relative to x,y,z axes Returns a mutable pointer to a member variable of class MR::RigidScaleXf3d named a.

Calls MR_RigidScaleXf3d_GetMutable_a(). The reference to this object might be preserved as the return value.

◆ assign_from_another()

auto meshlib::RigidScaleXf3d::assign_from_another ( _other:&meshlib::RigidScaleXf3d ) -> &mut meshlib::RigidScaleXf3d

Generated from method MR::RigidScaleXf3d::operator=.

Calls MR_RigidScaleXf3d_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ b()

auto meshlib::RigidScaleXf3d::b ( ) const -> &meshlib::Vector3d

< shift Returns a pointer to a member variable of class MR::RigidScaleXf3d named b.

Calls MR_RigidScaleXf3d_Get_b(). The reference to this object might be preserved as the return value.

◆ b_mut()

auto meshlib::RigidScaleXf3d::b_mut ( ) -> &mut meshlib::Vector3d

< shift Returns a mutable pointer to a member variable of class MR::RigidScaleXf3d named b.

Calls MR_RigidScaleXf3d_GetMutable_b(). The reference to this object might be preserved as the return value.

◆ construct()

auto meshlib::RigidScaleXf3d::construct ( a:&meshlib::Vector3d ,
b:&meshlib::Vector3d ,
s:f64  ) -> meshlib::Owned< meshlib::RigidScaleXf3d >
static

Generated from constructor MR::RigidScaleXf3d::RigidScaleXf3d.

Calls MR_RigidScaleXf3d_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_from_another()

auto meshlib::RigidScaleXf3d::construct_from_another ( _other:&meshlib::RigidScaleXf3d ) -> meshlib::Owned< meshlib::RigidScaleXf3d >
static

Generated from constructor MR::RigidScaleXf3d::RigidScaleXf3d.

Calls MR_RigidScaleXf3d_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ linear_xf()

auto meshlib::RigidScaleXf3d::linear_xf ( ) const -> meshlib::AffineXf3d

converts this into not-rigid transformation but with matrix, which linearly depends on angles Generated from method MR::RigidScaleXf3d::linearXf.

Calls MR_RigidScaleXf3d_linearXf().

◆ new()

auto meshlib::RigidScaleXf3d::new ( ) -> meshlib::Owned< meshlib::RigidScaleXf3d >
static

Constructs an empty (default-constructed) instance.

Calls MR_RigidScaleXf3d_DefaultConstruct().

◆ rigid_scale_xf()

auto meshlib::RigidScaleXf3d::rigid_scale_xf ( ) const -> meshlib::AffineXf3d

converts this into rigid (with scale) transformation, which non-linearly depends on angles Generated from method MR::RigidScaleXf3d::rigidScaleXf.

Calls MR_RigidScaleXf3d_rigidScaleXf().

◆ s()

auto meshlib::RigidScaleXf3d::s ( ) const -> &f64

< scaling Returns a pointer to a member variable of class MR::RigidScaleXf3d named s.

Calls MR_RigidScaleXf3d_Get_s(). The reference to this object might be preserved as the return value.

◆ s_mut()

auto meshlib::RigidScaleXf3d::s_mut ( ) -> &mut f64

< scaling Returns a mutable pointer to a member variable of class MR::RigidScaleXf3d named s.

Calls MR_RigidScaleXf3d_GetMutable_s(). The reference to this object might be preserved as the return value.

◆ set_a()

void meshlib::RigidScaleXf3d::set_a ( value:meshlib::Vector3d )

< rotation angles relative to x,y,z axes Modifies a member variable of class MR::RigidScaleXf3d named a.

Calls MR_RigidScaleXf3d_Set_a(). The reference to the parameter value might be preserved in this object in element a.

◆ set_b()

void meshlib::RigidScaleXf3d::set_b ( value:meshlib::Vector3d )

< shift Modifies a member variable of class MR::RigidScaleXf3d named b.

Calls MR_RigidScaleXf3d_Set_b(). The reference to the parameter value might be preserved in this object in element b.

◆ set_s()

void meshlib::RigidScaleXf3d::set_s ( value:f64 )

< scaling Modifies a member variable of class MR::RigidScaleXf3d named s.

Calls MR_RigidScaleXf3d_Set_s().


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