#include <Math.hpp>
Metody publiczne | |
| POINT_ () | |
| POINT_ (int x, int y) | |
| bool | operator== (const POINT_ &v) const |
| bool | operator!= (const POINT_ &v) const |
| POINT_ | operator- () const |
| POINT_ | operator+ (const POINT_ &v) const |
| POINT_ | operator- (const POINT_ &v) const |
| POINT_ & | operator+= (const POINT_ &v) |
| POINT_ & | operator-= (const POINT_ &v) |
| POINT_ & | operator*= (int v) |
| POINT_ & | operator/= (int v) |
| int & | operator[] (uint4 Index) |
| const int & | operator[] (uint4 Index) const |
| int * | GetArray () |
| const int * | GetArray () const |
Atrybuty publiczne | |
| union { | |
| struct { | |
| int x | |
| int y | |
| } | |
| int v [2] | |
| }; | |
Statyczne atrybuty publiczne | |
| static const POINT_ | ZERO |
Kompatybilny ze strukturą POINT z Win32API. Nazywa się tak dziwnie, bo POINT to w Windows API marko i robi problem z nazwą. Konwersja do i ze stringa: "x,y", np. "10,1".
| common::POINT_::POINT_ | ( | ) | [inline] |
| common::POINT_::POINT_ | ( | int | x, | |
| int | y | |||
| ) | [inline] |
| bool common::POINT_::operator== | ( | const POINT_ & | v | ) | const [inline] |
| bool common::POINT_::operator!= | ( | const POINT_ & | v | ) | const [inline] |
| POINT_ common::POINT_::operator- | ( | ) | const [inline] |
| POINT_& common::POINT_::operator*= | ( | int | v | ) | [inline] |
| POINT_& common::POINT_::operator/= | ( | int | v | ) | [inline] |
| int& common::POINT_::operator[] | ( | uint4 | Index | ) | [inline] |
| const int& common::POINT_::operator[] | ( | uint4 | Index | ) | const [inline] |
| int* common::POINT_::GetArray | ( | ) | [inline] |
| const int* common::POINT_::GetArray | ( | ) | const [inline] |
| int common::POINT_::v[2] |
| union { ... } |
const POINT_ common::POINT_::ZERO [static] |
1.5.5