|
| template<class T_ > |
| bool | operator== (const Point2D< T_ > &a, const Point2D< T_ > &b) |
| | Operator ==.
|
| |
| template<class T_ > |
| Point2D< T_ > | operator+ (const Point2D< T_ > &a, const Point2D< T_ > &b) |
| | Operator +.
|
| |
| template<class T_ > |
| Point2D< T_ > | operator+ (const Point2D< T_ > &a, const T_ &x) |
| | Operator +.
|
| |
| template<class T_ > |
| Point2D< T_ > | operator- (const Point2D< T_ > &a) |
| | Unary Operator -
|
| |
| template<class T_ > |
| Point2D< T_ > | operator- (const Point2D< T_ > &a, const Point2D< T_ > &b) |
| | Operator -
|
| |
| template<class T_ > |
| Point2D< T_ > | operator- (const Point2D< T_ > &a, const T_ &x) |
| | Operator -
|
| |
| template<class T_ > |
| Point2D< T_ > | operator* (const T_ &a, const Point2D< T_ > &b) |
| | Operator *.
|
| |
| template<class T_ > |
| Point2D< T_ > | operator* (const int &a, const Point2D< T_ > &b) |
| |
| template<class T_ > |
| Point2D< T_ > | operator* (const Point2D< T_ > &b, const T_ &a) |
| | Operator /
|
| |
| template<class T_ > |
| Point2D< T_ > | operator* (const Point2D< T_ > &b, const int &a) |
| | Operator *
|
| |
| template<class T_ > |
| T_ | operator* (const Point2D< T_ > &b, const Point2D< T_ > &a) |
| | Operator *.
|
| |
| template<class T_ > |
| Point2D< T_ > | operator/ (const Point2D< T_ > &b, const T_ &a) |
| | Operator /
|
| |
|
bool | areClose (const Point2D< real_t > &a, const Point2D< real_t > &b, real_t toler=OFELI_TOLERANCE) |
| | Return true if both instances of class Point2D<real_t> are distant with less then toler [Default: OFELI_EPSMCH].
|
| |
| real_t | SqrDistance (const Point2D< real_t > &a, const Point2D< real_t > &b) |
| | Return squared euclidean distance between points a and b
|
| |
| real_t | Distance (const Point2D< real_t > &a, const Point2D< real_t > &b) |
| | Return euclidean distance between points a and b
|
| |
| template<class T_ > |
| std::ostream & | operator<< (std::ostream &s, const Point2D< T_ > &a) |
| | Output point coordinates.
|
| |
Definition file for class Point2D.