|
template<class T_ > |
bool | operator== (const Point< T_ > &a, const Point< T_ > &b) |
| Operator ==
|
|
template<class T_ > |
Point< T_ > | operator+ (const Point< T_ > &a, const Point< T_ > &b) |
| Operator +
|
|
template<class T_ > |
Point< T_ > | operator+ (const Point< T_ > &a, const T_ &x) |
| Operator +
|
|
template<class T_ > |
Point< T_ > | operator- (const Point< T_ > &a) |
| Unary Operator -
|
|
template<class T_ > |
Point< T_ > | operator- (const Point< T_ > &a, const Point< T_ > &b) |
| Operator -
|
|
template<class T_ > |
Point< T_ > | operator- (const Point< T_ > &a, const T_ &x) |
| Operator -
|
|
template<class T_ > |
Point< T_ > | operator* (const T_ &a, const Point< T_ > &b) |
| Operator *
|
|
template<class T_ > |
Point< T_ > | operator* (const int &a, const Point< T_ > &b) |
| Operator *.
|
|
template<class T_ > |
Point< T_ > | operator* (const Point< T_ > &b, const T_ &a) |
| Operator /
|
|
template<class T_ > |
Point< T_ > | operator* (const Point< T_ > &b, const int &a) |
| Operator *
|
|
template<class T_ > |
T_ | operator* (const Point< T_ > &a, const Point< T_ > &b) |
| Operator *
|
|
template<class T_ > |
Point< T_ > | operator/ (const Point< T_ > &b, const T_ &a) |
| Operator /
|
|
Point< real_t > | CrossProduct (const Point< real_t > &lp, const Point< real_t > &rp) |
| Return Cross product of two vectors lp and rp
|
|
bool | areClose (const Point< real_t > &a, const Point< real_t > &b, real_t toler=OFELI_TOLERANCE) |
| Return true if both instances of class Point<double> are distant with less then toler
|
|
real_t | SqrDistance (const Point< real_t > &a, const Point< real_t > &b) |
| Return squared euclidean distance between points a and b
|
|
real_t | Distance (const Point< real_t > &a, const Point< real_t > &b) |
| Return euclidean distance between points a and b
|
|
bool | operator< (const Point< size_t > &a, const Point< size_t > &b) |
| Comparison operator. Returns true if all components of first vector are lower than those of second one.
|
|
template<class T_ > |
std::ostream & | operator<< (std::ostream &s, const Point< T_ > &a) |
| Output point coordinates.
|
|
Definition file and implementation for class Point.