|
FIFE
2008.0
|
#include <point.h>


Public Member Functions | |
| PointType2D (T _x=0, T _y=0) | |
| PointType2D (const PointType2D< T > &rhs) | |
| PointType2D< T > | operator+ (const PointType2D< T > &p) const |
| PointType2D< T > | operator- (const PointType2D< T > &p) const |
| PointType2D< T > & | operator+= (const PointType2D< T > &p) |
| PointType2D< T > & | operator-= (const PointType2D< T > &p) |
| PointType2D< T > | operator* (const T &i) const |
| PointType2D< T > | operator/ (const T &i) const |
| bool | operator== (const PointType2D< T > &p) const |
| bool | operator!= (const PointType2D< T > &p) const |
| T | length () const |
| void | normalize () |
| void | rotate (T angle) |
| void | rotate (const PointType2D< T > &origin, T angle) |
A 2D Point
This is a small helper class to aid in 2d vector arithmetics.
|
inlineexplicit |
|
inline |
|
inline |
Return length
Definition at line 122 of file point.h.
Referenced by FIFE::PointType2D< int >::normalize().

|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |