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

Public Member Functions

auto assign_from_another (_other:&meshlib::RigidXf3f) -> &mut meshlib::RigidXf3f
auto rigid_xf () const -> meshlib::AffineXf3f
auto linear_xf () const -> meshlib::AffineXf3f
auto a () const -> &meshlib::Vector3f
auto a_mut () -> &mut meshlib::Vector3f
void set_a (value:meshlib::Vector3f)
auto b () const -> &meshlib::Vector3f
auto b_mut () -> &mut meshlib::Vector3f
void set_b (value:meshlib::Vector3f)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::RigidXf3f >
static auto construct_from_another (_other:&meshlib::RigidXf3f) -> meshlib::Owned< meshlib::RigidXf3f >
static auto construct (a:&meshlib::Vector3f, b:&meshlib::Vector3f) -> meshlib::Owned< meshlib::RigidXf3f >
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 transformation preserving all distances: y = A*x + b, where A is rotation matrix 3x3 stored as 3 angles, and b is shift vector Generated from class MR::RigidXf3f.

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

Member Function Documentation

◆ a()

auto meshlib::RigidXf3f::a ( ) const -> &meshlib::Vector3f

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

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

◆ a_mut()

auto meshlib::RigidXf3f::a_mut ( ) -> &mut meshlib::Vector3f

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

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

◆ assign_from_another()

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

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

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

◆ b()

auto meshlib::RigidXf3f::b ( ) const -> &meshlib::Vector3f

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

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

◆ b_mut()

auto meshlib::RigidXf3f::b_mut ( ) -> &mut meshlib::Vector3f

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

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

◆ construct()

auto meshlib::RigidXf3f::construct ( a:&meshlib::Vector3f ,
b:&meshlib::Vector3f  ) -> meshlib::Owned< meshlib::RigidXf3f >
static

Generated from constructor MR::RigidXf3f::RigidXf3f.

Calls MR_RigidXf3f_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::RigidXf3f::construct_from_another ( _other:&meshlib::RigidXf3f ) -> meshlib::Owned< meshlib::RigidXf3f >
static

Generated from constructor MR::RigidXf3f::RigidXf3f.

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

◆ linear_xf()

auto meshlib::RigidXf3f::linear_xf ( ) const -> meshlib::AffineXf3f

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

Calls MR_RigidXf3f_linearXf().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_RigidXf3f_DefaultConstruct().

◆ rigid_xf()

auto meshlib::RigidXf3f::rigid_xf ( ) const -> meshlib::AffineXf3f

converts this into rigid transformation, which non-linearly depends on angles Generated from method MR::RigidXf3f::rigidXf.

Calls MR_RigidXf3f_rigidXf().

◆ set_a()

void meshlib::RigidXf3f::set_a ( value:meshlib::Vector3f )

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

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

◆ set_b()

void meshlib::RigidXf3f::set_b ( value:meshlib::Vector3f )

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

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


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