Move Vectormath main
C++20 game and graphics mathematics
Loading...
Searching...
No Matches
AffineTransform3Semantics.hpp File Reference
#include <algorithm>
#include <cmath>
#include <optional>
#include <type_traits>
#include <mv/math/semantic/Normal3.hpp>
#include <mv/math/semantic/Point3.hpp>
#include <mv/math/transforms/AffineTransform3.hpp>
#include <mv/math/transforms/RigidTransform3.hpp>

Go to the source code of this file.

Namespaces

namespace  mv
 
namespace  mv::math
 
namespace  mv::math::detail
 

Functions

template<typename T >
requires std::is_floating_point_v<T>
Point3< T > mv::math::TransformPoint (const AffineTransform3< T > &transform, const Point3< T > &point) noexcept
 
template<typename T >
requires std::is_floating_point_v<T>
std::optional< Direction3< T > > mv::math::TryTransformDirection (const AffineTransform3< T > &transform, const Direction3< T > &direction) noexcept
 
template<typename T >
std::optional< Normal3< T > > mv::math::detail::TryTransformNormalImpl (const AffineTransform3< T > &transform, const Normal3< T > &normal, bool preserveHalfSpaceOrientation) noexcept
 
template<typename T >
requires std::is_floating_point_v<T>
std::optional< Normal3< T > > mv::math::TryTransformNormal (const AffineTransform3< T > &transform, const Normal3< T > &normal) noexcept
 
template<typename T >
requires std::is_floating_point_v<T>
std::optional< Normal3< T > > mv::math::TryTransformOrientedSurfaceNormal (const AffineTransform3< T > &transform, const Normal3< T > &normal) noexcept
 
template<typename T >
requires std::is_floating_point_v<T>
AffineTransform3< T > mv::math::ToAffine (const RigidTransform3< T > &transform) noexcept