#include <assert.h>
#include <vcg/math/base.h>
Go to the source code of this file.
Classes | |
class | vcg::Point2< P2ScalarType > |
Namespaces | |
namespace | vcg |
* | |
Typedefs | |
typedef Point2< double > | vcg::Point2d |
typedef Point2< float > | vcg::Point2f |
typedef Point2< int > | vcg::Point2i |
typedef Point2< short > | vcg::Point2s |
Functions | |
template<class T > | |
T | vcg::Angle (Point2< T > const &p0, Point2< T > const &p1) |
template<class T > | |
T | vcg::Distance (Point2< T > const &p1, Point2< T > const &p2) |
template<class T > | |
T | vcg::Norm (Point2< T > const &p) |
template<class T > | |
Point2< T > & | vcg::Normalize (Point2< T > &p) |
template<class T > | |
Point2< T > | vcg::operator* (const T s, Point2< T > const &p) |
template<class T > | |
Point2< T > | vcg::operator- (Point2< T > const &p) |
template<class T > | |
T | vcg::SquaredDistance (Point2< T > const &p1, Point2< T > const &p2) |
template<class T > | |
T | vcg::SquaredNorm (Point2< T > const &p) |