| |
Main Page Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members
PLMPoint Class ReferenceA simple 2D point (position), with 16 bits integer coordinates.
More...
#include <PLMMath.hpp>
List of all members.
Detailed Description
A simple 2D point (position), with 16 bits integer coordinates.
Constructor & Destructor Documentation
| PLMPoint::PLMPoint |
( |
|
) |
[inline] |
|
| PLMPoint::PLMPoint |
( |
s16 |
x, |
|
|
s16 |
y |
|
) |
[inline] |
|
| PLMPoint::PLMPoint |
( |
const PLMPoint & |
p |
) |
[inline] |
|
Member Function Documentation
| void PLMPoint::Move |
( |
s16 |
x, |
|
|
s16 |
y |
|
) |
[inline] |
|
|
|
Change position to (x, y).
|
| void PLMPoint::Move |
( |
const PLMPoint & |
p |
) |
[inline] |
|
| void PLMPoint::RelMove |
( |
s16 |
dx, |
|
|
s16 |
dy |
|
) |
[inline] |
|
|
|
Add dx and dy values to current x and y position respectively.
|
| const PLMPoint PLMPoint::operator+ |
( |
const PLMPoint & |
p |
) |
const [inline] |
|
|
|
+ operator, get a new point (this + p).
|
Friends And Related Function Documentation
| PLMDLL ostream& operator<< |
( |
ostream & |
os, |
|
|
const PLMPoint & |
p |
|
) |
[friend] |
|
|
|
Print current p position to out-stream os.
|
Member Data Documentation
The documentation for this class was generated from the following file:
Generated by
Doxygen 1.2.18 on Tue Oct 26 12:07:44 2004.
|