#include <assert.h>
#include <math.h>
#include <float.h>
#include <cstdlib>
#include <OpenKarto/Types.h>
Go to the source code of this file.
|
| template<class T > |
| T | karto::math::AlignValue (size_t value, size_t alignValue=8) |
| |
| template<typename T > |
| const T & | karto::math::Clip (const T &n, const T &minValue, const T &maxValue) |
| |
| kt_double | karto::math::DegreesToRadians (kt_double degrees) |
| |
| kt_bool | karto::math::DoubleEqual (kt_double a, kt_double b) |
| |
| template<typename T > |
| kt_bool | karto::math::InRange (const T &value, const T &a, const T &b) |
| |
| template<typename T > |
| kt_bool | karto::math::IsUpTo (const T &value, const T &maximum) |
| |
| template<typename T > |
| const T & | karto::math::Maximum (const T &value1, const T &value2) |
| |
| template<typename T > |
| const T & | karto::math::Minimum (const T &value1, const T &value2) |
| |
| kt_double | karto::math::NormalizeAngle (kt_double angle) |
| |
| kt_double | karto::math::NormalizeAngleDifference (kt_double minuend, kt_double subtrahend) |
| |
| kt_double | karto::math::RadiansToDegrees (kt_double radians) |
| |
| kt_double | karto::math::Round (kt_double value) |
| |
| template<typename T > |
| T | karto::math::Square (T value) |
| |
| template<class T > |
| void | karto::math::Swap (T &x, T &y) |
| |
| #define __OpenKarto_Math_h__ |