|
static double | getOrientationFromEuler (double lat, double lon, double psi, double theta) |
| Gets a degree heading for an entity based on euler angles. More...
|
|
static double | getPitchFromEuler (double lat, double lon, double psi, double theta) |
| Gets a degree pitch for an entity based on euler angles. More...
|
|
static double | getRollFromEuler (double lat, double lon, double psi, double theta, double phi) |
| Gets the degree roll for an entity based on euler angles. More...
|
|
static double | radToDeg (double rad) |
|
static double | degToRad (double deg) |
|
◆ getOrientationFromEuler()
double DIS::ConversionUtils::getOrientationFromEuler |
( |
double |
lat, |
|
|
double |
lon, |
|
|
double |
psi, |
|
|
double |
theta |
|
) |
| |
|
static |
Gets a degree heading for an entity based on euler angles.
All angular values passed in must be in radians.
- Parameters
-
lat | latitude expressed in radians |
lon | longitude expressed in radians |
psi | X angle part of Tait-Bryan XYZ convention expressed in radians |
theta | Y angle part of Tait-Bryan XYZ convention expressed in radians |
- Returns
- the heading, in degrees, with 0 being north, positive angles going clockwise, and negative angles going counterclockwise (i.e., 90 deg is east, -90 is west)
◆ getPitchFromEuler()
double DIS::ConversionUtils::getPitchFromEuler |
( |
double |
lat, |
|
|
double |
lon, |
|
|
double |
psi, |
|
|
double |
theta |
|
) |
| |
|
static |
Gets a degree pitch for an entity based on euler angles.
All angular values passed in must be in radians.
- Parameters
-
lat | latitude expressed in radians |
lon | longitude expressed in radians |
psi | X angle part of Tait-Bryan XYZ convention expressed in radians |
theta | Y angle part of Tait-Bryan XYZ convention expressed in radians |
- Returns
- the pitch, in degrees, with 0 being level. A negative values is when the entity's nose is pointing downward, positive value is when the entity's nose is pointing upward.
◆ getRollFromEuler()
double DIS::ConversionUtils::getRollFromEuler |
( |
double |
lat, |
|
|
double |
lon, |
|
|
double |
psi, |
|
|
double |
theta, |
|
|
double |
phi |
|
) |
| |
|
static |
Gets the degree roll for an entity based on euler angles.
All angular values passed in must be in radians.
- Parameters
-
lat | latitude expressed in radians |
lon | longitude expressed in radians |
psi | X angle part of Tait-Bryan XYZ convention expressed in radians |
theta | Y angle part of Tait-Bryan XYZ convention expressed in radians |
phi | Z angle part of Tait-Bryan XYZ convention expressed in radians |
- Returns
- the roll, in degrees, with 0 being level flight, + roll is clockwise when looking out the front of the entity.
The documentation for this class was generated from the following files: