#include <PtRect.h>
List of all members.
Public Attributes |
X | x |
Y | y |
Structors |
| Pt () |
| Pt (X x_, Y y_) |
| Pt (X_d x_, Y y_) |
| Pt (X x_, Y_d y_) |
| Pt (X_d x_, Y_d y_) |
Accessors |
bool | Less (const Pt &rhs) const |
Additional Inherited Members |
Detailed Description
A GG screen coordinate class.
Definition at line 56 of file PtRect.h.
Member Function Documentation
bool GG::Pt::Less |
( |
const Pt & |
rhs | ) |
const |
|
inline |
Returns true if x < rhs.x or returns true if x == rhs.x and y <rhs.y. This is useful for sorting Pts in STL containers and algorithms.
Definition at line 70 of file PtRect.h.
References x, and y.
The documentation for this struct was generated from the following file: