#include <assert.h>
#include <vcg/math/base.h>
Go to the source code of this file.
Classes | |
class | vcg::Point4< T > |
Namespaces | |
namespace | vcg |
* | |
Typedefs | |
typedef Point4< double > | vcg::Point4d |
typedef Point4< float > | vcg::Point4f |
typedef Point4< int > | vcg::Point4i |
typedef Point4< short > | vcg::Point4s |
Functions | |
template<class T > | |
T | vcg::Angle (const Point4< T > &p1, const Point4< T > &p2) |
template<class T > | |
T | vcg::Distance (const Point4< T > &p1, const Point4< T > &p2) |
template<class T > | |
T | vcg::Norm (const Point4< T > &p) |
template<class T > | |
T | vcg::SquaredDistance (const Point4< T > &p1, const Point4< T > &p2) |
template<class T > | |
T | vcg::SquaredNorm (const Point4< T > &p) |
template<class T > | |
double | vcg::StableDot (Point4< T > const &p0, Point4< T > const &p1) |
slower version of dot product, more stable (double precision only) |