maxon::detail Namespace Reference

Classes

class  StackArrayHelper
 
class  StackMatrixHelper
 

Typedefs

template<Int N, typename T >
using SmallStackArray = typename std::conditional_t< N==SMALLSTACK, BaseArray< T >, StackArrayHelper< N, T > >
 
template<Int N, typename T >
using SmallSquareStackMatrix = typename std::conditional_t< N==SMALLSTACK, MatrixNxM< T >, StackMatrixHelper< T, N, N > >
 
template<Int N, Int M, typename T >
using SmallStackMatrix = typename std::conditional_t< N==SMALLSTACK||M==SMALLSTACK, MatrixNxM< T >, StackMatrixHelper< T, N, M > >
 

Functions

Vector4d HomogeneousToNormal (const Vector4d &p)
 
Vector4d NormalToHomogeneous (const Vector4d &p)
 

Variables

static constexpr Int SMALLSTACK
 

Typedef Documentation

◆ SmallStackArray

using SmallStackArray = typename std::conditional_t<N == SMALLSTACK, BaseArray<T>, StackArrayHelper<N, T> >

◆ SmallSquareStackMatrix

using SmallSquareStackMatrix = typename std::conditional_t<N == SMALLSTACK, MatrixNxM<T>, StackMatrixHelper<T, N, N> >

◆ SmallStackMatrix

using SmallStackMatrix = typename std::conditional_t<N == SMALLSTACK || M == SMALLSTACK, MatrixNxM<T>, StackMatrixHelper<T, N, M> >

Function Documentation

◆ HomogeneousToNormal()

Vector4d maxon::detail::HomogeneousToNormal ( const Vector4d p)

◆ NormalToHomogeneous()

Vector4d maxon::detail::NormalToHomogeneous ( const Vector4d p)

Variable Documentation

◆ SMALLSTACK

constexpr Int SMALLSTACK
staticconstexpr