Classes | Namespaces | Defines | Functions
base.h File Reference
#include <float.h>
#include <math.h>
#include <assert.h>
#include <limits>
#include <algorithm>
Include dependency graph for vcg/math/base.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vcg::math::MagnitudoComparer< SCALAR >
class  vcg::VoidType
 a type that stands for "void". Useful for Parameter type of a point. More...

Namespaces

namespace  vcg
 

*


namespace  vcg::math

Defines

#define M_PI   3.14159265358979323846
#define SQRT_TWO   1.4142135623730950488

Functions

float vcg::math::Abs (const float v)
double vcg::math::Abs (const double v)
float vcg::math::Acos (const float v)
double vcg::math::Acos (const double v)
float vcg::math::Asin (const float v)
double vcg::math::Asin (const double v)
float vcg::math::Atan2 (const float v0, const float v1)
double vcg::math::Atan2 (const double v0, const double v1)
template<class SCALAR >
SCALAR vcg::math::Clamp (const SCALAR &val, const SCALAR &minval, const SCALAR &maxval)
float vcg::math::Cos (const float v)
double vcg::math::Cos (const double v)
template<class T >
int vcg::math::IsNAN (T t)
template<class T >
const Tvcg::math::Max (const T &a, const T &b, const T &c)
template<class T >
const Tvcg::math::Min (const T &a, const T &b, const T &c)
template<typename T >
int vcg::math::Sgn (T val)
float vcg::math::Sin (const float v)
double vcg::math::Sin (const double v)
template<class T >
void vcg::math::Sort (T &a, T &b)
template<class T >
void vcg::math::Sort (T &a, T &b, T &c)
template<typename T >
static T vcg::math::Sqr (T a)
float vcg::math::Sqrt (const short v)
float vcg::math::Sqrt (const int v)
float vcg::math::Sqrt (const float v)
double vcg::math::Sqrt (const double v)
float vcg::math::ToDeg (const float &a)
double vcg::math::ToDeg (const double &a)
float vcg::math::ToRad (const float &a)
double vcg::math::ToRad (const double &a)

Define Documentation

#define M_PI   3.14159265358979323846

Definition at line 167 of file vcg/math/base.h.

#define SQRT_TWO   1.4142135623730950488

Definition at line 171 of file vcg/math/base.h.



shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:38:48