Namespaces | Macros | Functions | Variables
Math.h File Reference
#include <assert.h>
#include <math.h>
#include <float.h>
#include <cstdlib>
#include <OpenKarto/Types.h>
Include dependency graph for Math.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 karto
 
 karto::math
 

Macros

#define __OpenKarto_Math_h__
 

Functions

template<class 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 >
karto::math::Square (T value)
 
template<class T >
void karto::math::Swap (T &x, T &y)
 

Variables

const kt_double karto::KT_180_PI = 57.29577951308232087685
 
const kt_double karto::KT_2PI = 6.28318530717958647692
 
const kt_double karto::KT_PI = 3.14159265358979323846
 
const kt_double karto::KT_PI_180 = 0.01745329251994329577
 
const kt_double karto::KT_PI_2 = 1.57079632679489661923
 
const kt_double karto::KT_TOLERANCE = 1e-06
 

Macro Definition Documentation

#define __OpenKarto_Math_h__

Definition at line 21 of file Math.h.



nav2d_karto
Author(s): Sebastian Kasperski
autogenerated on Thu Jun 6 2019 19:20:25