Move Vectormath main
C++20 game and graphics mathematics
Loading...
Searching...
No Matches
mv::math::AffineTransform3< T > Class Template Reference

#include <mv/math/transforms/AffineTransform3.hpp>

Public Types

using Component = T
 

Public Member Functions

 AffineTransform3 () noexcept
 
 AffineTransform3 (const Vec3< T > &axisX, const Vec3< T > &axisY, const Vec3< T > &axisZ, const Vec3< T > &translation) noexcept
 
const Vec3< T > & AxisX () const noexcept
 
const Vec3< T > & AxisY () const noexcept
 
const Vec3< T > & AxisZ () const noexcept
 
const Vec3< T > & Translation () const noexcept
 
Mat3< T > Linear () const noexcept
 
std::optional< AffineTransform3 > TryInverse () const noexcept
 

Static Public Member Functions

static AffineTransform3 Identity () noexcept
 
static AffineTransform3 FromLinearTranslation (const Mat3< T > &linear, const Vec3< T > &translation) noexcept
 

Detailed Description

template<typename T>
requires std::is_floating_point_v<T>
class mv::math::AffineTransform3< T >

Definition at line 15 of file AffineTransform3.hpp.

Member Typedef Documentation

◆ Component

template<typename T >
using mv::math::AffineTransform3< T >::Component = T

Definition at line 18 of file AffineTransform3.hpp.

Constructor & Destructor Documentation

◆ AffineTransform3() [1/2]

template<typename T >
mv::math::AffineTransform3< T >::AffineTransform3 ( )
inlinenoexcept

Definition at line 20 of file AffineTransform3.hpp.

◆ AffineTransform3() [2/2]

template<typename T >
mv::math::AffineTransform3< T >::AffineTransform3 ( const Vec3< T > &  axisX,
const Vec3< T > &  axisY,
const Vec3< T > &  axisZ,
const Vec3< T > &  translation 
)
inlinenoexcept

Definition at line 28 of file AffineTransform3.hpp.

Member Function Documentation

◆ AxisX()

template<typename T >
const Vec3< T > & mv::math::AffineTransform3< T >::AxisX ( ) const
inlinenoexcept

Definition at line 51 of file AffineTransform3.hpp.

◆ AxisY()

template<typename T >
const Vec3< T > & mv::math::AffineTransform3< T >::AxisY ( ) const
inlinenoexcept

Definition at line 55 of file AffineTransform3.hpp.

◆ AxisZ()

template<typename T >
const Vec3< T > & mv::math::AffineTransform3< T >::AxisZ ( ) const
inlinenoexcept

Definition at line 59 of file AffineTransform3.hpp.

◆ FromLinearTranslation()

template<typename T >
static AffineTransform3 mv::math::AffineTransform3< T >::FromLinearTranslation ( const Mat3< T > &  linear,
const Vec3< T > &  translation 
)
inlinestaticnoexcept

Definition at line 44 of file AffineTransform3.hpp.

◆ Identity()

template<typename T >
static AffineTransform3 mv::math::AffineTransform3< T >::Identity ( )
inlinestaticnoexcept

Definition at line 39 of file AffineTransform3.hpp.

◆ Linear()

template<typename T >
Mat3< T > mv::math::AffineTransform3< T >::Linear ( ) const
inlinenoexcept

Definition at line 68 of file AffineTransform3.hpp.

◆ Translation()

template<typename T >
const Vec3< T > & mv::math::AffineTransform3< T >::Translation ( ) const
inlinenoexcept

Definition at line 63 of file AffineTransform3.hpp.

◆ TryInverse()

template<typename T >
std::optional< AffineTransform3 > mv::math::AffineTransform3< T >::TryInverse ( ) const
inlinenoexcept

Definition at line 73 of file AffineTransform3.hpp.


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