some general case utility functions More...
#include <cmath>
Go to the source code of this file.
Namespaces | |
namespace | g2o |
Executes code, only if secs are gone since last exec. | |
Defines | |
#define | M_PI 3.14159265358979323846 |
Functions | |
double | g2o::average_angle (double theta1, double theta2) |
template<typename T > | |
T | g2o::clamp (T l, T x, T u) |
double | g2o::deg2rad (double degree) |
template<typename T > | |
T | g2o::hypot (T x, T y) |
template<typename T > | |
T | g2o::hypot_sqr (T x, T y) |
double | g2o::inverse_theta (double th) |
double | g2o::normalize_theta (double theta) |
double | g2o::rad2deg (double rad) |
template<typename T > | |
int | g2o::sign (T x) |
template<typename T > | |
T | g2o::square (T x) |
template<typename T > | |
T | g2o::wrap (T l, T x, T u) |
some general case utility functions
This file specifies some general case utility functions
Definition in file misc.h.