Magnum/Math/CubicHermite.h file

Class Magnum::Math::CubicHermite, alias Magnum::Math::CubicHermite2D, Magnum::Math::CubicHermite3D, function Magnum::Math::select(), Magnum::Math::lerp(), Magnum::Math::splerp()

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::Math
Math library.

Classes

template<class T>
class Magnum::Math::CubicHermite
Cubic Hermite spline point.

Typedefs

template<class T>
using CubicHermite1D = CubicHermite<T>
Scalar cubic Hermite spline point.
template<class T>
using CubicHermite2D = CubicHermite<Vector2<T>>
Two-dimensional cubic Hermite spline point.
template<class T>
using CubicHermite3D = CubicHermite<Vector3<T>>
Three-dimensional cubic Hermite spline point.
template<class T>
using CubicHermiteComplex = CubicHermite<Complex<T>>
Cubic Hermite spline complex number.
template<class T>
using CubicHermiteQuaternion = CubicHermite<Quaternion<T>>
Cubic Hermite spline quaternion.

Functions

template<class T>
auto operator<<(Debug& debug, const CubicHermite<T>& value) -> Debug&
Debug output operator.
template<class T, class U>
auto select(const CubicHermite<T>& a, const CubicHermite<T>& b, U t) -> T
Constant interpolation of two cubic Hermite spline points.
template<class T, class U>
auto lerp(const CubicHermite<T>& a, const CubicHermite<T>& b, U t) -> T
Linear interpolation of two cubic Hermite points.
template<class T>
auto lerp(const CubicHermiteComplex<T>& a, const CubicHermiteComplex<T>& b, T t) -> Complex<T>
Linear interpolation of two cubic Hermite complex numbers.
template<class T>
auto lerp(const CubicHermiteQuaternion<T>& a, const CubicHermiteQuaternion<T>& b, T t) -> Quaternion<T>
Linear interpolation of two cubic Hermite quaternions.
template<class T>
auto lerpShortestPath(const CubicHermiteQuaternion<T>& a, const CubicHermiteQuaternion<T>& b, T t) -> Quaternion<T>
Linear shortest-path interpolation of two cubic Hermite quaternions.
template<class T>
auto slerp(const CubicHermiteComplex<T>& a, const CubicHermiteComplex<T>& b, T t) -> Complex<T>
Spherical linear interpolation of two cubic Hermite complex numbers.
template<class T>
auto slerp(const CubicHermiteQuaternion<T>& a, const CubicHermiteQuaternion<T>& b, T t) -> Quaternion<T>
Spherical linear interpolation of two cubic Hermite quaternions.
template<class T>
auto slerpShortestPath(const CubicHermiteQuaternion<T>& a, const CubicHermiteQuaternion<T>& b, T t) -> Quaternion<T>
Spherical linear shortest-path interpolation of two cubic Hermite quaternions.
template<class T, class U>
auto splerp(const CubicHermite<T>& a, const CubicHermite<T>& b, U t) -> T
Spline interpolation of two cubic Hermite points.
template<class T>
auto splerp(const CubicHermiteComplex<T>& a, const CubicHermiteComplex<T>& b, T t) -> Complex<T>
Spline interpolation of two cubic Hermite complex numbers.
template<class T>
auto splerp(const CubicHermiteQuaternion<T>& a, const CubicHermiteQuaternion<T>& b, T t) -> Quaternion<T>
Spline interpolation of two cubic Hermite quaternions.