Artec 3D Scanning SDK  2.0
Classes | Namespaces | Typedefs | Functions
Point.h File Reference
#include <cmath>
#include <limits>
#include <algorithm>

Go to the source code of this file.

Classes

class  artec::sdk::base::Point3< T >
 3-dimensional point class. More...
 
class  artec::sdk::base::Point4< T >
 4-dimensional point class. More...
 
class  artec::sdk::base::Point2< T >
 2-dimensional point class. More...
 
class  artec::sdk::base::Point3< T >
 3-dimensional point class. More...
 
class  artec::sdk::base::Point4< T >
 4-dimensional point class. More...
 

Namespaces

 artec
 
 artec::sdk
 
 artec::sdk::base
 

Typedefs

typedef Point2< int > artec::sdk::base::Point2I
 Commonly used point shortcuts. More...
 
typedef Point2< float > artec::sdk::base::Point2F
 
typedef Point2< double > artec::sdk::base::Point2D
 
typedef Point3< int > artec::sdk::base::Point3I
 
typedef Point3< float > artec::sdk::base::Point3F
 
typedef Point3< double > artec::sdk::base::Point3D
 
typedef Point4< int > artec::sdk::base::Point4I
 
typedef Point4< float > artec::sdk::base::Point4F
 
typedef Point4< double > artec::sdk::base::Point4D
 

Functions

template<typename Tf >
bool artec::sdk::base::isZero (const Tf &some)
 Equality expression for the types which are not exact. More...
 
template<typename T >
artec::sdk::base::distanceSquare (const Point2< T > &p1, const Point2< T > &p2)
 Distance measure (squared) More...
 
template<typename T >
artec::sdk::base::dotProduct (const Point2< T > &p1, const Point2< T > &p2)
 Cross product of two points. More...
 
template<typename T , typename T2 >
Point2< T > artec::sdk::base::operator+ (const T2 &val, const Point2< T > &p)
 Arithmetical operators of the form: operator(scalar, TPoint2) More...
 
template<typename T , typename T2 >
Point2< T > artec::sdk::base::operator- (const T2 &val, const Point2< T > &p)
 
template<typename T , typename T2 >
Point2< T > artec::sdk::base::operator* (const T2 &val, const Point2< T > &p)
 
template<typename T >
artec::sdk::base::distanceSquare (const Point3< T > &p1, const Point3< T > &p2)
 Distance measure (squared) More...
 
template<typename T >
artec::sdk::base::dotProduct (const Point3< T > &p1, const Point3< T > &p2)
 Cross product of two points. More...
 
template<typename T >
Point3< T > artec::sdk::base::crossProduct (const Point3< T > &p1, const Point3< T > &p2)
 Cross product of two points. More...
 
template<typename T >
artec::sdk::base::distanceSquare (const Point4< T > &p1, const Point4< T > &p2)
 Distance measure (squared) More...
 
template<typename T >
artec::sdk::base::dotProduct (const Point4< T > &p1, const Point4< T > &p2)
 Cross product of two points. More...