#include <functional>
#include <iostream>
#include <cmath>
ネームスペース | |
namespace | rcsc |
構成 | |
class | rcsc::AngleDeg |
degree wrapper class [詳細] | |
class | rcsc::AngleDeg::DegreeCmp |
predicate function object. this compares two angles by degree value [詳細] | |
class | rcsc::AngleIsWithin |
predicate function object. [詳細] | |
関数 | |
const rcsc::AngleDeg | operator+ (const rcsc::AngleDeg &lhs, const rcsc::AngleDeg &rhs) |
operator add(T, T) | |
const rcsc::AngleDeg | operator+ (const rcsc::AngleDeg &lhs, const double &rhs) |
operator add(T, U) | |
const rcsc::AngleDeg | operator+ (const double &lhs, const rcsc::AngleDeg &rhs) |
operator add(U, T) | |
const rcsc::AngleDeg | operator- (const rcsc::AngleDeg &lhs, const rcsc::AngleDeg &rhs) |
operator sub(T, T) | |
const rcsc::AngleDeg | operator- (const rcsc::AngleDeg &lhs, const double &rhs) |
operator sub(T, U) | |
const rcsc::AngleDeg | operator- (const double &lhs, const rcsc::AngleDeg &rhs) |
operator sub(U, T) | |
bool | operator!= (const rcsc::AngleDeg &lhs, const rcsc::AngleDeg &rhs) |
predicate operator != | |
bool | operator!= (const rcsc::AngleDeg &lhs, const double &rhs) |
predicate operator != | |
bool | operator!= (const double &lhs, const rcsc::AngleDeg &rhs) |
predicate operator != | |
bool | operator== (const rcsc::AngleDeg &lhs, const rcsc::AngleDeg &rhs) |
predicate operator == | |
bool | operator== (const rcsc::AngleDeg &lhs, const double &rhs) |
predicate operator == | |
bool | operator== (const double &lhs, const rcsc::AngleDeg &rhs) |
predicate operator == | |
std::ostream & | operator<< (std::ostream &os, const rcsc::AngleDeg &a) |
output to ostream |
bool operator!= | ( | const double & | lhs, | |
const rcsc::AngleDeg & | rhs | |||
) | [inline] |
predicate operator !=
lhs | left hand side argument | |
rhs | right hand side argument |
bool operator!= | ( | const rcsc::AngleDeg & | lhs, | |
const double & | rhs | |||
) | [inline] |
predicate operator !=
lhs | left hand side argument | |
rhs | right hand side argument |
bool operator!= | ( | const rcsc::AngleDeg & | lhs, | |
const rcsc::AngleDeg & | rhs | |||
) | [inline] |
predicate operator !=
lhs | left hand side argument | |
rhs | right hand side argument |
const rcsc::AngleDeg operator+ | ( | const double & | lhs, | |
const rcsc::AngleDeg & | rhs | |||
) | [inline] |
operator add(U, T)
lhs | left hand side argument | |
rhs | right hand side argument |
const rcsc::AngleDeg operator+ | ( | const rcsc::AngleDeg & | lhs, | |
const double & | rhs | |||
) | [inline] |
operator add(T, U)
lhs | left hand side argument | |
rhs | right hand side argument |
const rcsc::AngleDeg operator+ | ( | const rcsc::AngleDeg & | lhs, | |
const rcsc::AngleDeg & | rhs | |||
) | [inline] |
operator add(T, T)
lhs | left hand side argument | |
rhs | right hand side argument |
const rcsc::AngleDeg operator- | ( | const double & | lhs, | |
const rcsc::AngleDeg & | rhs | |||
) | [inline] |
operator sub(U, T)
lhs | left hand side argument | |
rhs | right hand side argument |
const rcsc::AngleDeg operator- | ( | const rcsc::AngleDeg & | lhs, | |
const double & | rhs | |||
) | [inline] |
operator sub(T, U)
lhs | left hand side argument | |
rhs | right hand side argument |
const rcsc::AngleDeg operator- | ( | const rcsc::AngleDeg & | lhs, | |
const rcsc::AngleDeg & | rhs | |||
) | [inline] |
operator sub(T, T)
lhs | left hand side argument | |
rhs | right hand side argument |
std::ostream& operator<< | ( | std::ostream & | os, | |
const rcsc::AngleDeg & | a | |||
) | [inline] |
output to ostream
os | reference to the output stream | |
a | angle object |
bool operator== | ( | const double & | lhs, | |
const rcsc::AngleDeg & | rhs | |||
) | [inline] |
predicate operator ==
lhs | left hand side argument | |
rhs | right hand side argument |
bool operator== | ( | const rcsc::AngleDeg & | lhs, | |
const double & | rhs | |||
) | [inline] |
predicate operator ==
lhs | left hand side argument | |
rhs | right hand side argument |
bool operator== | ( | const rcsc::AngleDeg & | lhs, | |
const rcsc::AngleDeg & | rhs | |||
) | [inline] |
predicate operator ==
lhs | left hand side argument | |
rhs | right hand side argument |