位置 More...
#include <Position.h>
Public Member Functions | |
Position< T > | operator* (const T &rhs) const |
Position< T > & | operator*= (const T &rhs) |
const Position< T > | operator+ (const Position< T > &rhs) const |
Position< T > & | operator+= (const Position< T > &rhs) |
const Position< T > | operator- (const Position< T > &rhs) const |
Position< T > & | operator-= (const Position< T > &rhs) |
Position & | operator= (const Position< T > &rhs) |
bool | operator== (const Position &rhs) const |
Position (T x_, T y_, const Angle &angle_) | |
Position (const Position &rhs) | |
Position (void) | |
int | to_deg (void) const |
double | to_rad (void) const |
Public Attributes | |
Angle | angle |
角度 | |
T | x |
X 位置. | |
T | y |
Y 位置. | |
Friends | |
const Position< T > | operator* (const T &lhs, const Position< T > &rhs) |
std::ostream & | operator<< (std::ostream &out, const Position< T > &rhs) |
位置
Definition at line 25 of file Position.h.
qrk::Position< T >::Position | ( | void | ) | [inline] |
Definition at line 33 of file Position.h.
qrk::Position< T >::Position | ( | const Position< T > & | rhs | ) | [inline] |
Definition at line 38 of file Position.h.
qrk::Position< T >::Position | ( | T | x_, | |
T | y_, | |||
const Angle & | angle_ | |||
) | [inline] |
Definition at line 43 of file Position.h.
Position<T> qrk::Position< T >::operator* | ( | const T & | rhs | ) | const [inline] |
Definition at line 122 of file Position.h.
Position<T>& qrk::Position< T >::operator*= | ( | const T & | rhs | ) | [inline] |
Definition at line 112 of file Position.h.
const Position<T> qrk::Position< T >::operator+ | ( | const Position< T > & | rhs | ) | const [inline] |
Definition at line 90 of file Position.h.
Position<T>& qrk::Position< T >::operator+= | ( | const Position< T > & | rhs | ) | [inline] |
Definition at line 80 of file Position.h.
const Position<T> qrk::Position< T >::operator- | ( | const Position< T > & | rhs | ) | const [inline] |
Definition at line 106 of file Position.h.
Position<T>& qrk::Position< T >::operator-= | ( | const Position< T > & | rhs | ) | [inline] |
Definition at line 96 of file Position.h.
Position& qrk::Position< T >::operator= | ( | const Position< T > & | rhs | ) | [inline] |
Definition at line 71 of file Position.h.
bool qrk::Position< T >::operator== | ( | const Position< T > & | rhs | ) | const [inline] |
Definition at line 60 of file Position.h.
int qrk::Position< T >::to_deg | ( | void | ) | const [inline] |
Definition at line 48 of file Position.h.
double qrk::Position< T >::to_rad | ( | void | ) | const [inline] |
Definition at line 54 of file Position.h.
Definition at line 129 of file Position.h.
std::ostream& operator<< | ( | std::ostream & | out, | |
const Position< T > & | rhs | |||
) | [friend] |
Definition at line 135 of file Position.h.
Angle qrk::Position< T >::angle |
角度
Definition at line 30 of file Position.h.
T qrk::Position< T >::x |
X 位置.
Definition at line 28 of file Position.h.
T qrk::Position< T >::y |
Y 位置.
Definition at line 29 of file Position.h.