MeshLib
 
Loading...
Searching...
No Matches
MR::RigidXf3< T > Struct Template Reference

#include <MRRigidXf3.h>

Public Types

using V = Vector3<T>
 

Public Member Functions

constexpr RigidXf3 () noexcept=default
 
constexpr RigidXf3 (const V &a, const V &b) noexcept
 
template<typename U >
constexpr RigidXf3 (const RigidXf3< U > &xf) noexcept
 
AffineXf3< T > rigidXf () const
 converts this into rigid transformation, which non-linearly depends on angles
 
AffineXf3< T > linearXf () const
 converts this into not-rigid transformation but with matrix, which linearly depends on angles
 

Public Attributes

V a
 rotation angles relative to x,y,z axes
 
V b
 shift
 

Detailed Description

template<typename T>
struct MR::RigidXf3< T >

rigid transformation preserving all distances: y = A*x + b, where A is rotation matrix 3x3 stored as 3 angles, and b is shift vector

Member Typedef Documentation

◆ V

template<typename T >
using MR::RigidXf3< T >::V = Vector3<T>

Constructor & Destructor Documentation

◆ RigidXf3() [1/3]

template<typename T >
MR::RigidXf3< T >::RigidXf3 ( )
constexprdefaultnoexcept

◆ RigidXf3() [2/3]

template<typename T >
MR::RigidXf3< T >::RigidXf3 ( const V & a,
const V & b )
inlineconstexprnoexcept

◆ RigidXf3() [3/3]

template<typename T >
template<typename U >
MR::RigidXf3< T >::RigidXf3 ( const RigidXf3< U > & xf)
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ linearXf()

template<typename T >
AffineXf3< T > MR::RigidXf3< T >::linearXf ( ) const
inlinenodiscard

converts this into not-rigid transformation but with matrix, which linearly depends on angles

◆ rigidXf()

template<typename T >
AffineXf3< T > MR::RigidXf3< T >::rigidXf ( ) const
inlinenodiscard

converts this into rigid transformation, which non-linearly depends on angles

Member Data Documentation

◆ a

template<typename T >
V MR::RigidXf3< T >::a

rotation angles relative to x,y,z axes

◆ b

template<typename T >
V MR::RigidXf3< T >::b

shift


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