Move Vectormath main
C++20 game and graphics mathematics
Loading...
Searching...
No Matches
TrsTransform3.hpp File Reference
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <optional>
#include <type_traits>
#include <mv/math/Tolerance.hpp>
#include <mv/math/transforms/AffineTransform3.hpp>

Go to the source code of this file.

Classes

class  mv::math::TrsTransform3< T >
 
struct  mv::math::TrsDecomposition3< T >
 

Namespaces

namespace  mv
 
namespace  mv::math
 

Typedefs

using mv::math::TrsTransform3f = TrsTransform3< float >
 
using mv::math::TrsTransform3d = TrsTransform3< double >
 
using mv::math::TrsDecomposition3f = TrsDecomposition3< float >
 
using mv::math::TrsDecomposition3d = TrsDecomposition3< double >
 

Enumerations

enum class  mv::math::TrsDecompositionStatus : std::uint8_t { mv::math::Success , mv::math::Singular , mv::math::Sheared , mv::math::NumericalFailure }
 

Functions

template<typename T >
TrsDecomposition3< T > mv::math::DecomposeTrs (const AffineTransform3< T > &transform, T orthogonalityTolerance=static_cast< T >(1.0e-5)) noexcept
 
template<typename T >
std::optional< TrsTransform3< T > > mv::math::TryToTrs (const AffineTransform3< T > &transform, T orthogonalityTolerance=static_cast< T >(1.0e-5)) noexcept