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

Public Member Functions

auto assign_from_another (_other:&meshlib::RigidXf3d) -> &mut meshlib::RigidXf3d
auto rigid_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)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::RigidXf3d >
static auto construct_from_another (_other:&meshlib::RigidXf3d) -> meshlib::Owned< meshlib::RigidXf3d >
static auto construct (a:&meshlib::Vector3d, b:&meshlib::Vector3d) -> meshlib::Owned< meshlib::RigidXf3d >
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::RigidXf3d.

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

Member Function Documentation

◆ a()

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

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

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

◆ a_mut()

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

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

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

◆ assign_from_another()

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

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

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

◆ b()

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

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

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

◆ b_mut()

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

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

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

◆ construct()

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

Generated from constructor MR::RigidXf3d::RigidXf3d.

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

Generated from constructor MR::RigidXf3d::RigidXf3d.

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

◆ linear_xf()

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

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

Calls MR_RigidXf3d_linearXf().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_RigidXf3d_DefaultConstruct().

◆ rigid_xf()

auto meshlib::RigidXf3d::rigid_xf ( ) const -> meshlib::AffineXf3d

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

Calls MR_RigidXf3d_rigidXf().

◆ set_a()

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

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

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

◆ set_b()

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

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

Calls MR_RigidXf3d_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: