Public Member Functions |
|
| Angle () |
| | Constructor.
|
| | Angle (double _radian) |
| | Copy Constructor.
|
| | Angle (const Angle &angle) |
| | Copy constructor.
|
|
virtual | ~Angle () |
| | Destructor.
|
| void | SetFromRadian (double _radian) |
| | Set the value from an angle in radians.
|
| void | SetFromDegree (double degree) |
| | Set the value from an angle in degrees.
|
| double | GetAsRadian () const |
| | Get the angle in radians.
|
| double | GetAsDegree () const |
| | Get the angle in degrees.
|
|
void | Normalize () |
| | Normalize the angle.
|
| double | operator* () const |
| | Dereference operator.
|
| Angle | operator- (const Angle &_angle) const |
| | Substraction, result = this - _angle.
|
| Angle | operator+ (const Angle &_angle) const |
| | Addition, result = this + _angle.
|
| Angle | operator* (const Angle &_angle) const |
| | Multiplication, result = this * _angle.
|
| Angle | operator/ (const Angle &_angle) const |
| | Division, result = this / _angle.
|
| Angle | operator-= (const Angle &_angle) |
| | Subtraction set, this = this - _angle.
|
| Angle | operator+= (const Angle &_angle) |
| | Addition set, this = this + _angle.
|
| Angle | operator*= (const Angle &_angle) |
| | Multiplication set, this = this * _angle.
|
| Angle | operator/= (const Angle &_angle) |
| | Division set, this = this / _angle.
|
| bool | operator== (const Angle &_angle) const |
| | Equality operator, result = this == _angle.
|
| bool | operator!= (const Angle &_angle) const |
| | Inequality.
|
| bool | operator< (const Angle &_angle) const |
| | Less than operator.
|
| bool | operator<= (const Angle &_angle) const |
| | Less or equal operator.
|
| bool | operator> (const Angle &_angle) const |
| | Greater than operator.
|
| bool | operator>= (const Angle &_angle) const |
| | Greater equal.
|
Friends |
| std::ostream & | operator<< (std::ostream &out, const gazebo::math::Angle &a) |
| | Ostream operator.
|
| std::istream & | operator>> (std::istream &in, gazebo::math::Angle &a) |
| | Istream operator.
|
An angle and related functions.