|
Otclient 1.0
14/8/2020
|
#include <point.h>
Public Member Functions | |
| TPoint () | |
| TPoint (T x, T y) | |
| TPoint (const TPoint< T > &other) | |
| bool | isNull () const |
| TSize< T > | toSize () const |
| TPoint< T > | operator- () const |
| TPoint< T > | operator+ (const TPoint< T > &other) const |
| TPoint< T > & | operator+= (const TPoint< T > &other) |
| TPoint< T > | operator- (const TPoint< T > &other) const |
| TPoint< T > & | operator-= (const TPoint< T > &other) |
| TPoint< T > | operator* (const TPoint< T > &other) const |
| TPoint< T > & | operator*= (const TPoint< T > &other) |
| TPoint< T > | operator/ (const TPoint< T > &other) const |
| TPoint< T > & | operator/= (const TPoint< T > &other) |
| TPoint< T > | operator+ (T other) const |
| TPoint< T > & | operator+= (T other) |
| TPoint< T > | operator- (T other) const |
| TPoint< T > & | operator-= (T other) |
| TPoint< T > | operator* (float v) const |
| TPoint< T > & | operator*= (float v) |
| TPoint< T > | operator/ (float v) const |
| TPoint< T > & | operator/= (float v) |
| TPoint< T > | operator& (int a) |
| TPoint< T > & | operator&= (int a) |
| bool | operator<= (const TPoint< T > &other) const |
| bool | operator>= (const TPoint< T > &other) const |
| bool | operator< (const TPoint< T > &other) const |
| bool | operator> (const TPoint< T > &other) const |
| TPoint< T > & | operator= (const TPoint< T > &other) |
| bool | operator== (const TPoint< T > &other) const |
| bool | operator!= (const TPoint< T > &other) const |
| float | length () const |
| T | manhattanLength () const |
| float | distanceFrom (const TPoint< T > &other) const |
Public Attributes | |
| T | x |
| T | y |
|
inline |
|
inline |
|
inline |