Namespaces | Functions | Variables
Math.h File Reference
#include <assert.h>
#include <math.h>
#include <limits>
#include <karto_sdk/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
 

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<>
kt_bool karto::math::IsUpTo< kt_int32u > (const kt_int32u &value, const kt_int32u &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)
 

Variables

const kt_int32s karto::INVALID_SCAN = std::numeric_limits<kt_int32s>::max()
 
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
 


slam_toolbox
Author(s): Steve Macenski
autogenerated on Thu Jan 11 2024 03:37:56