vcg::math Namespace Reference

Classes

class  DummyPolarFunctor
class  DynamicLegendre
class  Legendre
class  MagnitudoComparer
class  MarsenneTwisterRNG
struct  MAX_FACTORIAL
struct  MAX_FACTORIAL< double >
struct  MAX_FACTORIAL< float >
struct  MAX_FACTORIAL< int >
struct  MAX_FACTORIAL< long double >
struct  MAX_FACTORIAL< short >
class  Perlin
class  Quadric
class  RandomGenerator
class  ScalingFactor
class  SphericalHarmonics
class  SubtractiveRingRNG

Typedefs

typedef Quadric< double > Quadricd
typedef Quadric< float > Quadricf
typedef Quadric< int > Quadrici
typedef Quadric< short > Quadrics

Functions

double Abs (const double v)
float Abs (const float v)
double Acos (const double v)
float Acos (const float v)
double Asin (const double v)
float Asin (const float v)
double Atan2 (const double v0, const double v1)
float Atan2 (const float v0, const float v1)
double box_muller (RandomGenerator &generator, double m, double s)
template<class SCALAR >
SCALAR Clamp (const SCALAR &val, const SCALAR &minval, const SCALAR &maxval)
double Cos (const double v)
float Cos (const float v)
template<typename ScalarType >
ScalarType Factorial (unsigned i)
template<typename ScalarType >
ScalarType factorial_table (unsigned i)
template<>
double factorial_table< double > (unsigned i)
template<>
float factorial_table< float > (unsigned i)
template<>
int factorial_table< int > (unsigned i)
template<>
long double factorial_table< long double > (unsigned i)
template<class T >
int IsNAN (T t)
template<class T >
const TMax (const T &a, const T &b)
template<class T >
const TMin (const T &a, const T &b)
double Sin (const double v)
float Sin (const float v)
template<class T >
void Sort (T &a, T &b, T &c)
template<class T >
void Sort (T &a, T &b)
template<typename T >
static T Sqr (T a)
double Sqrt (const double v)
float Sqrt (const float v)
float Sqrt (const int v)
float Sqrt (const short v)
template<class T >
void Swap (T &a, T &b)
double ToDeg (const double &a)
float ToDeg (const float &a)
double ToRad (const double &a)
float ToRad (const float &a)

Typedef Documentation

typedef Quadric<double> vcg::math::Quadricd

Definition at line 369 of file quadric.h.

typedef Quadric<float> vcg::math::Quadricf

Definition at line 368 of file quadric.h.

Definition at line 367 of file quadric.h.

typedef Quadric<short> vcg::math::Quadrics

Definition at line 366 of file quadric.h.


Function Documentation

double vcg::math::Abs ( const double  v  )  [inline]

Definition at line 132 of file math/base.h.

float vcg::math::Abs ( const float  v  )  [inline]

Definition at line 124 of file math/base.h.

double vcg::math::Acos ( const double  v  )  [inline]

Definition at line 135 of file math/base.h.

float vcg::math::Acos ( const float  v  )  [inline]

Definition at line 127 of file math/base.h.

double vcg::math::Asin ( const double  v  )  [inline]

Definition at line 136 of file math/base.h.

float vcg::math::Asin ( const float  v  )  [inline]

Definition at line 128 of file math/base.h.

double vcg::math::Atan2 ( const double  v0,
const double  v1 
) [inline]

Definition at line 137 of file math/base.h.

float vcg::math::Atan2 ( const float  v0,
const float  v1 
) [inline]

Definition at line 129 of file math/base.h.

double vcg::math::box_muller ( RandomGenerator &  generator,
double  m,
double  s 
) [inline]

Definition at line 337 of file random_generator.h.

template<class SCALAR >
SCALAR vcg::math::Clamp ( const SCALAR &  val,
const SCALAR &  minval,
const SCALAR &  maxval 
) [inline]

Definition at line 169 of file math/base.h.

double vcg::math::Cos ( const double  v  )  [inline]

Definition at line 133 of file math/base.h.

float vcg::math::Cos ( const float  v  )  [inline]

Definition at line 125 of file math/base.h.

template<typename ScalarType >
ScalarType vcg::math::Factorial ( unsigned  i  )  [inline]

Definition at line 272 of file factorial.h.

template<typename ScalarType >
ScalarType vcg::math::factorial_table ( unsigned  i  )  [inline]

Definition at line 252 of file factorial.h.

template<>
double vcg::math::factorial_table< double > ( unsigned  i  )  [inline]
template<>
float vcg::math::factorial_table< float > ( unsigned  i  )  [inline]
template<>
int vcg::math::factorial_table< int > ( unsigned  i  )  [inline]
template<>
long double vcg::math::factorial_table< long double > ( unsigned  i  )  [inline]
template<class T >
int vcg::math::IsNAN ( t  )  [inline]

Definition at line 189 of file math/base.h.

template<class T >
const T& vcg::math::Max ( const T &  a,
const T &  b 
) [inline]

Definition at line 144 of file math/base.h.

template<class T >
const T& vcg::math::Min ( const T &  a,
const T &  b 
) [inline]

Definition at line 141 of file math/base.h.

double vcg::math::Sin ( const double  v  )  [inline]

Definition at line 134 of file math/base.h.

float vcg::math::Sin ( const float  v  )  [inline]

Definition at line 126 of file math/base.h.

template<class T >
void vcg::math::Sort ( T &  a,
T &  b,
T &  c 
) [inline]

Definition at line 154 of file math/base.h.

template<class T >
void vcg::math::Sort ( T &  a,
T &  b 
) [inline]

Definition at line 151 of file math/base.h.

template<typename T >
static T vcg::math::Sqr ( a  )  [inline, static]

Definition at line 139 of file math/base.h.

double vcg::math::Sqrt ( const double  v  )  [inline]

Definition at line 131 of file math/base.h.

float vcg::math::Sqrt ( const float  v  )  [inline]

Definition at line 123 of file math/base.h.

float vcg::math::Sqrt ( const int  v  )  [inline]

Definition at line 121 of file math/base.h.

float vcg::math::Sqrt ( const short  v  )  [inline]

Definition at line 120 of file math/base.h.

template<class T >
void vcg::math::Swap ( T &  a,
T &  b 
) [inline]

Definition at line 148 of file math/base.h.

double vcg::math::ToDeg ( const double &  a  )  [inline]

Definition at line 180 of file math/base.h.

float vcg::math::ToDeg ( const float &  a  )  [inline]

Definition at line 178 of file math/base.h.

double vcg::math::ToRad ( const double &  a  )  [inline]

Definition at line 181 of file math/base.h.

float vcg::math::ToRad ( const float &  a  )  [inline]

Definition at line 179 of file math/base.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:24 2013