#include <mapbasic.h>
Public Member Functions | |
Point_2 () | |
Point_2 (Origin) | |
Point_2 (T t) | |
Point_2 (T a, T b) | |
T & | operator[] (const int i) |
const T & | operator[] (const int i) const |
Point_2 & | operator+= (const Vector_2< T > &v) |
Assign operators. | |
Point_2 & | operator-= (const Vector_2< T > &v) |
Point_2 | operator+ (const Vector_2< T > &v) const |
Arithmatic operators. | |
Point_2 | operator- (const Vector_2< T > &v) const |
Vector_2< T > | operator- (const Point_2 &v) const |
bool | operator== (const Point_2 &p) const |
bool | operator!= (const Point_2 &p) const |
bool | operator< (const Point_2 &v) const |
bool | is_origin () const |
Definition at line 253 of file mapbasic.h.
Definition at line 255 of file mapbasic.h.
Referenced by Point_2< T >::operator+(), and Point_2< T >::operator-().
Definition at line 256 of file mapbasic.h.
Definition at line 257 of file mapbasic.h.
Definition at line 258 of file mapbasic.h.
Reimplemented from Vector_2< T >.
Definition at line 259 of file mapbasic.h.
References Vector_2< T >::_x.
Assign operators.
Definition at line 265 of file mapbasic.h.
References Vector_2< T >::_x, Vector_2< T >::_y, Vector_2< Type >::x(), and Vector_2< Type >::y().
Definition at line 267 of file mapbasic.h.
References Vector_2< T >::_x, Vector_2< T >::_y, Vector_2< Type >::x(), and Vector_2< Type >::y().
Arithmatic operators.
Definition at line 271 of file mapbasic.h.
References Vector_2< T >::_x, Vector_2< T >::_y, Point_2< T >::Point_2(), Vector_2< Type >::x(), and Vector_2< Type >::y().
Definition at line 273 of file mapbasic.h.
References Vector_2< T >::_x, Vector_2< T >::_y, Point_2< T >::Point_2(), Vector_2< Type >::x(), and Vector_2< Type >::y().
Definition at line 275 of file mapbasic.h.
References Vector_2< T >::_x, Vector_2< T >::_y, Vector_2< Type >::x(), and Vector_2< Type >::y().
Definition at line 278 of file mapbasic.h.
References Vector_2< Type >::x(), Vector_2< T >::x(), Vector_2< Type >::y(), and Vector_2< T >::y().
Definition at line 281 of file mapbasic.h.
References Vector_2< Type >::x(), Vector_2< T >::x(), Vector_2< Type >::y(), and Vector_2< T >::y().
Definition at line 284 of file mapbasic.h.
References Vector_2< Type >::operator<().