g2o
Classes | Namespaces | Macros | Typedefs | Functions
misc.h File Reference

some general case utility functions More...

#include "macros.h"
#include <cmath>
Include dependency graph for misc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  g2o::ForceLinker
 

Namespaces

 g2o
 

Macros

#define M_PI   3.14159265358979323846
 

Typedefs

typedef void(* g2o::ForceLinkFunction) (void)
 

Functions

template<typename T >
g2o::square (T x)
 
template<typename T >
g2o::hypot (T x, T y)
 
template<typename T >
g2o::hypot_sqr (T x, T y)
 
double g2o::deg2rad (double degree)
 
double g2o::rad2deg (double rad)
 
double g2o::normalize_theta (double theta)
 
double g2o::inverse_theta (double th)
 
double g2o::average_angle (double theta1, double theta2)
 
template<typename T >
int g2o::sign (T x)
 
template<typename T >
g2o::clamp (T l, T x, T u)
 
template<typename T >
g2o::wrap (T l, T x, T u)
 
bool g2o::arrayHasNaN (const double *array, int size, int *nanIndex=0)
 

Detailed Description

some general case utility functions

This file specifies some general case utility functions

Definition in file misc.h.

Macro Definition Documentation

#define M_PI   3.14159265358979323846