#include <Point2i.h>
Public Member Functions | |
Point2i () | |
コンストラクタ | |
Point2i (int sourceX, int sourceY) | |
コンストラクタ | |
Point2i (int sourceArray[2]) | |
コンストラクタ | |
Point2i (const Point2f &source) | |
コンストラクタ | |
void | set (int sourceX, int sourceY) |
値の設定 | |
void | set (int sourceArray[2]) |
値の設定 | |
void | set (const Point2f &source) |
値の設定 | |
Point2i | operator+ (const Point2i &addPoint) const |
加算 | |
Point2i | operator- (const Point2i &subPoint) const |
減算 | |
Point2i | operator * (const Point2i &mulPoint) const |
乗算 | |
Point2i | operator * (float mulValue) const |
乗算 | |
Point2i | operator * (int mulValue) const |
乗算 | |
Point2i | operator+ () const |
+演算子 | |
Point2i | operator- () const |
-演算子 | |
Point2i & | operator+= (const Point2i &addPoint) |
代入加算 | |
Point2i & | operator-= (const Point2i &subPoint) |
代入減算 | |
Point2i & | operator *= (const Point2i &mulPoint) |
代入乗算 | |
Point2i & | operator *= (float mulValue) |
代入乗算 | |
Point2i & | operator *= (int mulValue) |
代入乗算 | |
bool | operator== (const Point2i &target) const |
同じ値かどうか | |
bool | operator!= (const Point2i &target) const |
同じ値でないかどうか | |
String | toString () const |
文字列化 | |
Static Public Attributes | |
const Point2i | zero |
ゼロ位置 | |
const Point2i | unit |
単位位置 | |
Friends | |
Point2i | operator * (float mulValue, const Point2i &mulPoint) |
乗算 | |
Point2i | operator * (int mulValue, const Point2i &mulPoint) |
乗算 |
このクラスは継承しないで下さい。
Definition at line 38 of file Point2i.h.
|
コンストラクタ このコンストラクタは初期値の設定を行わないため値は不定です。 Definition at line 74 of file Point2i.h. Referenced by operator *(), operator+(), and operator-(). |
|
コンストラクタ
|
|
コンストラクタ
|
|
コンストラクタ
Definition at line 42 of file Point2i.cpp. |
|
乗算
|
|
乗算
|
|
乗算
|
|
代入乗算
|
|
代入乗算
|
|
代入乗算
|
|
同じ値でないかどうか
|
|
+演算子
|
|
加算
|
|
代入加算
|
|
-演算子
|
|
減算
|
|
代入減算
|
|
同じ値かどうか
|
|
値の設定
Definition at line 46 of file Point2i.cpp. References Lamp::Point2f::x, x, Lamp::Point2f::y, and y. |
|
値の設定
|
|
値の設定
Definition at line 104 of file Point2i.h. Referenced by Lamp::Mouse::clickStateClear(), and Lamp::Mouse::setNextState(). |
|
文字列化
Definition at line 291 of file Point2i.h. References Lamp::String::format(), x, and y. |
|
乗算
|
|
乗算
|