|
vtdata library
|
Public Member Functions | |
| IPoint2 (int ix, int iy) | |
| float | Length () const |
| void | Set (int ix, int iy) |
| IPoint2 & | operator= (const IPoint2 &v) |
| IPoint2 | operator+ (const IPoint2 &v) const |
| IPoint2 | operator- (const IPoint2 &v) const |
| IPoint2 | operator* (int s) const |
| IPoint2 | operator* (float f) const |
| void | operator+= (const IPoint2 &v) |
| void | operator-= (const IPoint2 &v) |
| void | operator*= (int s) |
| void | operator*= (float f) |
| bool | operator== (const IPoint2 &v) const |
| bool | operator!= (const IPoint2 &v) const |
Public Attributes | |
| int | x |
| int | y |
A 2-component vector class, integer. Useful for representing discrete coordinates and sizes such as pixels and grids.
1.8.10