Functions
karto::math Namespace Reference

Functions

template<class T >
AlignValue (size_t value, size_t alignValue=8)
 
template<typename T >
const T & Clip (const T &n, const T &minValue, const T &maxValue)
 
kt_double DegreesToRadians (kt_double degrees)
 
kt_bool DoubleEqual (kt_double a, kt_double b)
 
template<typename T >
kt_bool InRange (const T &value, const T &a, const T &b)
 
template<typename T >
kt_bool IsUpTo (const T &value, const T &maximum)
 
template<typename T >
const T & Maximum (const T &value1, const T &value2)
 
template<typename T >
const T & Minimum (const T &value1, const T &value2)
 
kt_double NormalizeAngle (kt_double angle)
 
kt_double NormalizeAngleDifference (kt_double minuend, kt_double subtrahend)
 
kt_double RadiansToDegrees (kt_double radians)
 
kt_double Round (kt_double value)
 
template<typename T >
Square (T value)
 
template<class T >
void Swap (T &x, T &y)
 


nav2d_karto
Author(s): Sebastian Kasperski
autogenerated on Tue Nov 7 2017 06:02:37