#include <iostream>
#include <ignition/math/Helpers.hh>
#include <ignition/math/config.hh>
Go to the source code of this file.
|
#define | IGN_DTOR(d) |
| Converts degrees to radians.
|
|
#define | IGN_NORMALIZE(a) |
| Macro that normalizes an angle in the range -Pi to Pi.
|
|
#define | IGN_RTOD(r) |
| Macro that converts radians to degrees.
|
|
◆ IGN_DTOR
Value:
#define IGN_PI
Define IGN_PI, IGN_PI_2, and IGN_PI_4.
Definition Helpers.hh:174
Converts degrees to radians.
- Parameters
-
- Returns
- radians
◆ IGN_NORMALIZE
#define IGN_NORMALIZE |
( |
| a | ) |
|
Value:
Macro that normalizes an angle in the range -Pi to Pi.
- Parameters
-
- Returns
- the angle, in range
◆ IGN_RTOD
Value:
Macro that converts radians to degrees.
- Parameters
-
- Returns
- degrees