Angle.hh File Reference
#include <math.h>
#include <ignition/math/Angle.hh>
#include <iostream>
#include "gazebo/util/system.hh"

Go to the source code of this file.

Classes

class  Angle
 An angle and related functions. More...
 

Namespaces

 gazebo
 Forward declarations for the common classes.
 
 gazebo::math
 Math namespace.
 

Macros

#define GZ_DTOR(d)   gazebo::math::Angle::DegreesToRadians(d)
 Converts degrees to radians. More...
 
#define GZ_NORMALIZE(a)   gazebo::math::Angle::Normalize(a)
 Macro tha normalizes an angle in the range -Pi to Pi. More...
 
#define GZ_RTOD(r)   gazebo::math::Angle::RadiansToDegrees(r)
 Macro that converts radians to degrees. More...
 

Macro Definition Documentation

#define GZ_DTOR (   d)    gazebo::math::Angle::DegreesToRadians(d)

Converts degrees to radians.

Parameters
[in]degrees
Returns
radians
#define GZ_NORMALIZE (   a)    gazebo::math::Angle::Normalize(a)

Macro tha normalizes an angle in the range -Pi to Pi.

Parameters
[in]angle
Returns
the angle, in range
#define GZ_RTOD (   r)    gazebo::math::Angle::RadiansToDegrees(r)

Macro that converts radians to degrees.

Parameters
[in]radians
Returns
degrees