#include <typeUtils.h>
Public Member Functions | |
double | getInnerRadian (void) const |
内部管理の radian 値を返す | |
Direction (const Direction *rhs) | |
コピーコンストラクタ | |
const Direction & | operator+= (const Direction &rhs) |
演算子定義 | |
const Direction | operator+ (const Direction &rhs) const |
演算子定義 | |
bool | operator== (const Direction &rhs) const |
演算子定義 | |
const Direction & | operator-= (const Direction &rhs) |
演算子定義 | |
Direction | operator- (const Direction &rhs) const |
演算子定義 | |
const int | to_deg (void) const |
degree単位の値を返す | |
const double | to_rad (void) const |
radian単位の値を返す | |
Static Public Member Functions | |
static Direction | deg (int degree) |
degree値の角度を格納 | |
static Direction | rad (double radian) |
radian値の角度を格納 |
Definition at line 161 of file typeUtils.h.
double VXV::Direction::getInnerRadian | ( | void | ) | const [inline] |
内部管理の radian 値を返す
内部管理の | radian 値 |
Definition at line 173 of file typeUtils.h.
Referenced by RunCtrl::rotateAngle().
static Direction VXV::Direction::deg | ( | int | degree | ) | [inline, static] |
degree値の角度を格納
degree | [i] 角度値 [degree] |
Directionオブジェクト |
Definition at line 228 of file typeUtils.h.
static Direction VXV::Direction::rad | ( | double | radian | ) | [inline, static] |
radian値の角度を格納
radian | [i] 角度値 [radian] |
Directionオブジェクト |
Definition at line 238 of file typeUtils.h.
Referenced by tRunCtrl_Simulator::getBodyPosition(), RunCtrl::getLocalPosition(), and RunCtrl::getRotateVel().
const int VXV::Direction::to_deg | ( | void | ) | const |
degree単位の値を返す
返される値は、[+180, -180) となる
角度値 | [degree] |
Definition at line 63 of file typeUtils.cpp.
References to_rad().
Referenced by mRunCtrl::followLine(), operator<<(), mRunCtrl::rotateAngle(), mRunCtrl::rotateToDirection(), mRunCtrl::spin(), and mRunCtrl::stopToLine().
const double VXV::Direction::to_rad | ( | void | ) | const |
radian単位の値を返す
返される値は、[+M_PI, -M_PI) となる
角度値 | [radian] |
Definition at line 68 of file typeUtils.cpp.
Referenced by VXV::createConvertMatrix(), VXV::getNextLinePoint(), operator<<(), operator==(), to_deg(), and RunCtrl::to_div16().