|
| 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 /
|
| |
| 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.