Control Libraries 6.3.4
|
Public Member Functions | |
constexpr | Angle (long double n=0.0) |
Constructor with a value in radian in [-pi,pi]. More... | |
constexpr | Angle (const Angle &ang) |
Copy constructor from another Angle. More... | |
constexpr long double | get_value () const |
Getter of the value attribute. More... | |
constexpr Angle & | operator= (long double n) |
Overload the = operator. More... | |
constexpr Angle & | operator- () |
Overload the - operator. More... | |
constexpr Angle & | operator+= (const Angle &rhs) |
Overload the += operator. More... | |
constexpr Angle | operator+ (const Angle &rhs) const |
Overload the + operator. More... | |
constexpr Angle & | operator-= (const Angle &rhs) |
Overload the -= operator. More... | |
constexpr Angle | operator- (const Angle &rhs) const |
Overload the - operator. More... | |
constexpr Angle & | operator*= (double lambda) |
Overload the *= operator with a scalar. More... | |
constexpr Angle | operator* (double lambda) const |
Overload the * operator with a scalar. More... | |
constexpr Angle & | operator/= (double lambda) |
Overload the /= operator with a scalar. More... | |
constexpr Angle | operator/ (double lambda) const |
Overload the / operator with a scalar. More... | |
constexpr bool | operator== (const Angle &rhs) const |
Overload the == operator. More... | |
constexpr bool | operator!= (const Angle &rhs) const |
Overload the != operator. More... | |
constexpr bool | operator> (const Angle &rhs) const |
Overload the > operator. More... | |
constexpr bool | operator>= (const Angle &rhs) const |
Overload the > operator. More... | |
constexpr bool | operator< (const Angle &rhs) const |
Overload the < operator. More... | |
constexpr bool | operator<= (const Angle &rhs) const |
Overload the < operator. More... | |
Friends | |
constexpr double | operator/ (const Angle &lhs, const Angle &rhs) |
Overload the / operator between two Angles. More... | |
constexpr Angle | operator* (double lambda, const Angle &rhs) |
Overload the / operator with a scalar on the left side. More... | |
constexpr Angle | literals::operator""_rad (long double n) |
Literal operator to create an Angle in radian. More... | |
constexpr Angle | literals::operator""_deg (long double n) |
Literal operator to create an Angle in degrees. More... | |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
friend |
|
friend |