Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

misc.h File Reference

#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.

Data Structures

struct  rgb

Defines

#define M_PI   3.141592653589793

Typedefs

typedef unsigned char uchar

Functions

bool operator== (const rgb &a, const rgb &b)
template<class T>
abs (const T &x)
template<class T>
int sign (const T &x)
template<class T>
square (const T &x)
template<class T>
bound (const T &x, const T &min, const T &max)
template<class T>
bool check_bound (const T &x, const T &min, const T &max)
int vlib_round (float x)
int vlib_round (double x)
double gaussian (double val, double sigma)


Define Documentation

#define M_PI   3.141592653589793
 


Typedef Documentation

typedef unsigned char uchar
 


Function Documentation

template<class T>
T abs const T &  x  )  [inline]
 

template<class T>
T bound const T &  x,
const T &  min,
const T &  max
[inline]
 

template<class T>
bool check_bound const T &  x,
const T &  min,
const T &  max
[inline]
 

double gaussian double  val,
double  sigma
[inline]
 

bool operator== const rgb a,
const rgb b
[inline]
 

template<class T>
int sign const T &  x  )  [inline]
 

template<class T>
T square const T &  x  )  [inline]
 

int vlib_round double  x  )  [inline]
 

int vlib_round float  x  )  [inline]
 


Generated on Wed Oct 5 14:36:13 2005 for RobotFlow by  doxygen 1.4.4