Functions | Variables
MathToolbox.cpp File Reference
#include "MathToolbox.hpp"
#include <limits>
Include dependency graph for MathToolbox.cpp:

Go to the source code of this file.

Functions

double hypot (double x, double y, double z)
 
double normalizeRadians (double radians)
 

Variables

const double NaN_double = std::numeric_limits<double>::quiet_NaN()
 Not-a-Number in double precision. More...
 

Function Documentation

double hypot ( double  x,
double  y,
double  z 
)

Berechne die Laenge der Hypothenuse

Definition at line 19 of file MathToolbox.cpp.

double normalizeRadians ( double  radians)

Normalizes an angle given in radians by adding or subtracting an integer multiple of 2*pi so that the resulting angle is in the half-open interval [-pi,+pi). The current implementation takes O(1) time, i.e. the time of execution has a fixed upper boundary independend from the angle.

Definition at line 31 of file MathToolbox.cpp.

Variable Documentation

const double NaN_double = std::numeric_limits<double>::quiet_NaN()

Not-a-Number in double precision.

Definition at line 13 of file MathToolbox.cpp.



libsick_ldmrs
Author(s): SICK AG , Martin Günther , Jochen Sprickerhof
autogenerated on Mon Oct 26 2020 03:27:30