#include <spDimensionPoint2D.hpp>
Public Member Functions | |
point2d () | |
point2d (T Size) | |
point2d (T PointX, T PointY) | |
point2d (const point2d< T > &other) | |
point2d (const vector3d< T > &other) | |
~point2d () | |
bool | operator== (const point2d< T > &other) const |
bool | operator!= (const point2d< T > &other) const |
bool | operator> (const point2d< T > &other) const |
bool | operator< (const point2d< T > &other) const |
bool | operator>= (const point2d< T > &other) const |
bool | operator<= (const point2d< T > &other) const |
point2d< T > | operator+ (const point2d< T > &other) const |
point2d< T > & | operator+= (const point2d< T > &other) |
point2d< T > | operator- (const point2d< T > &other) const |
point2d< T > & | operator-= (const point2d< T > &other) |
point2d< T > | operator/ (const point2d< T > &other) const |
point2d< T > & | operator/= (const point2d< T > &other) |
point2d< T > | operator* (const point2d< T > &other) const |
point2d< T > & | operator*= (const point2d< T > &other) |
point2d< T > | operator/ (T Size) const |
point2d< T > & | operator/= (T Size) |
point2d< T > | operator* (T Size) const |
point2d< T > & | operator*= (T Size) |
point2d< T > | operator- () const |
const T | operator[] (s32 i) const |
T & | operator[] (s32 i) |
T | dot (const point2d< T > &other) const |
T | getLength () const |
T | getLengthSq () const |
void | make3DProjection (s32 ScreenWidth, s32 ScreenHeight) |
void | make3DProjectionOrigin (s32 ScreenWidth, s32 ScreenHeight) |
void | make3DFrustum (f32 Width, f32 Height) |
point2d< T > & | setAbs () |
point2d< T > | getAbs () const |
point2d< T > & | normalize () |
void | set (T NewX, T NewY) |
void | get (T &NewX, T &NewY) const |
void | setLength (T Length) |
point2d< T > & | getCircleCollision (f32 ThisRadius, point2d< T > &OtherPoint, f32 OtherRadius) |
bool | isPointInsideCircle (const point2d< T > &Center, const f32 Radius) const |
T | getMin () const |
T | getMax () const |
template<typename B > | |
point2d< B > | cast () const |
Static Public Member Functions | |
static void | make3DProjection (T &NewX, T &NewY, s32 ScreenWidth, s32 ScreenHeight) |
Public Attributes | |
T | X |
T | Y |
sp::dim::point2d< T >::point2d | ( | ) | [inline] |
sp::dim::point2d< T >::point2d | ( | T | Size | ) | [inline] |
sp::dim::point2d< T >::point2d | ( | T | PointX, | |
T | PointY | |||
) | [inline] |
sp::dim::point2d< T >::point2d | ( | const point2d< T > & | other | ) | [inline] |
sp::dim::point2d< T >::point2d | ( | const vector3d< T > & | other | ) |
sp::dim::point2d< T >::~point2d | ( | ) | [inline] |
point2d<B> sp::dim::point2d< T >::cast | ( | ) | const [inline] |
T sp::dim::point2d< T >::dot | ( | const point2d< T > & | other | ) | const [inline] |
void sp::dim::point2d< T >::get | ( | T & | NewX, | |
T & | NewY | |||
) | const [inline] |
point2d<T> sp::dim::point2d< T >::getAbs | ( | ) | const [inline] |
point2d<T>& sp::dim::point2d< T >::getCircleCollision | ( | f32 | ThisRadius, | |
point2d< T > & | OtherPoint, | |||
f32 | OtherRadius | |||
) | [inline] |
T sp::dim::point2d< T >::getLength | ( | ) | const [inline] |
T sp::dim::point2d< T >::getLengthSq | ( | ) | const [inline] |
T sp::dim::point2d< T >::getMax | ( | ) | const [inline] |
T sp::dim::point2d< T >::getMin | ( | ) | const [inline] |
bool sp::dim::point2d< T >::isPointInsideCircle | ( | const point2d< T > & | Center, | |
const f32 | Radius | |||
) | const [inline] |
void sp::dim::point2d< T >::make3DFrustum | ( | f32 | Width, | |
f32 | Height | |||
) | [inline] |
static void sp::dim::point2d< T >::make3DProjection | ( | T & | NewX, | |
T & | NewY, | |||
s32 | ScreenWidth, | |||
s32 | ScreenHeight | |||
) | [inline, static] |
void sp::dim::point2d< T >::make3DProjection | ( | s32 | ScreenWidth, | |
s32 | ScreenHeight | |||
) | [inline] |
void sp::dim::point2d< T >::make3DProjectionOrigin | ( | s32 | ScreenWidth, | |
s32 | ScreenHeight | |||
) | [inline] |
point2d<T>& sp::dim::point2d< T >::normalize | ( | ) | [inline] |
bool sp::dim::point2d< T >::operator!= | ( | const point2d< T > & | other | ) | const [inline] |
point2d<T> sp::dim::point2d< T >::operator* | ( | T | Size | ) | const [inline] |
point2d<T> sp::dim::point2d< T >::operator* | ( | const point2d< T > & | other | ) | const [inline] |
point2d<T>& sp::dim::point2d< T >::operator*= | ( | T | Size | ) | [inline] |
point2d<T>& sp::dim::point2d< T >::operator*= | ( | const point2d< T > & | other | ) | [inline] |
point2d<T> sp::dim::point2d< T >::operator+ | ( | const point2d< T > & | other | ) | const [inline] |
point2d<T>& sp::dim::point2d< T >::operator+= | ( | const point2d< T > & | other | ) | [inline] |
point2d<T> sp::dim::point2d< T >::operator- | ( | const point2d< T > & | other | ) | const [inline] |
point2d<T> sp::dim::point2d< T >::operator- | ( | ) | const [inline] |
point2d<T>& sp::dim::point2d< T >::operator-= | ( | const point2d< T > & | other | ) | [inline] |
point2d<T> sp::dim::point2d< T >::operator/ | ( | const point2d< T > & | other | ) | const [inline] |
point2d<T> sp::dim::point2d< T >::operator/ | ( | T | Size | ) | const [inline] |
point2d<T>& sp::dim::point2d< T >::operator/= | ( | const point2d< T > & | other | ) | [inline] |
point2d<T>& sp::dim::point2d< T >::operator/= | ( | T | Size | ) | [inline] |
bool sp::dim::point2d< T >::operator< | ( | const point2d< T > & | other | ) | const [inline] |
bool sp::dim::point2d< T >::operator<= | ( | const point2d< T > & | other | ) | const [inline] |
bool sp::dim::point2d< T >::operator== | ( | const point2d< T > & | other | ) | const [inline] |
bool sp::dim::point2d< T >::operator> | ( | const point2d< T > & | other | ) | const [inline] |
bool sp::dim::point2d< T >::operator>= | ( | const point2d< T > & | other | ) | const [inline] |
T& sp::dim::point2d< T >::operator[] | ( | s32 | i | ) | [inline] |
const T sp::dim::point2d< T >::operator[] | ( | s32 | i | ) | const [inline] |
void sp::dim::point2d< T >::set | ( | T | NewX, | |
T | NewY | |||
) | [inline] |
point2d<T>& sp::dim::point2d< T >::setAbs | ( | ) | [inline] |
void sp::dim::point2d< T >::setLength | ( | T | Length | ) | [inline] |
T sp::dim::point2d< T >::X |
T sp::dim::point2d< T >::Y |