FIFE::PointType2D< T > Class Template Reference
#include <point.h>
List of all members.
Detailed Description
template<typename T>
class FIFE::PointType2D< T >
A 2D Point
This is a small helper class to aid in 2d vector arithmetics.
- See also:
- Rect
Definition at line 47 of file point.h.
Constructor & Destructor Documentation
Constructor
Creates a with 0 as default values.
Definition at line 60 of file point.h.
Copy Constructor
Definition at line 65 of file point.h.
Member Function Documentation
Normalizes the point
Definition at line 130 of file point.h.
Equality comparision
Definition at line 116 of file point.h.
Scalar multiplication with an integer value
Definition at line 98 of file point.h.
Vector addition
Definition at line 70 of file point.h.
Vector inplace addition
Definition at line 82 of file point.h.
Vector substraction
Definition at line 76 of file point.h.
Vector inplace substraction
Definition at line 90 of file point.h.
Scalar division with an integer value
Definition at line 104 of file point.h.
Equality comparision
Definition at line 110 of file point.h.
Rotates the point around an origin
Definition at line 161 of file point.h.
Rotates the point around the origin
Definition at line 146 of file point.h.
The documentation for this class was generated from the following file:
- engine/core/util/structures/point.h