KDIS  2-8-x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
KConversions.h File Reference
#include "./../KDefines.h"
#include <math.h>
Include dependency graph for KConversions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 KDIS
 
 KDIS::UTILS
 

Macros

#define _USE_MATH_DEFINES
 

Enumerations

enum  RefEllipsoid {
  Airy, Airy_Modified, Australian_National, Bessel_1841,
  Bessel_1841_Namibia, Clarke_1866, Clarke_1880, Everest_Sabah_Sarawak,
  Everest_1830, Everest_1948, Everest_1956, Everest_1969,
  Fischer_1960, Fischer_1960_Modified, Fischer_1968, GRS_1980,
  Helmert_1906, Hough, International_1924, Karsovsky_1940,
  SGS_1985, South_American_1969, Sphere_6371km, WGS_1960,
  WGS_1966, WGS_1972, WGS_1984
}
 

Functions

template<class Type >
void Cross (Type d[3], Type const a[3], Type const b[3])
 
template<class Type >
void DecimalToDMS (Type Decimal, Type &DegOUT, Type &MinOUT, Type &SecOUT)
 
template<class Type >
Type DegToRad (Type Deg)
 
template<class Type >
Type DMSToDecimal (Type Deg, Type Min, Type Sec)
 
template<class Type >
double Dot (Type const a[3], Type const b[3])
 
template<class Type >
void EulerToHeadingPitchRoll (Type Lat, Type Lon, Type Psi, Type Theta, Type Phi, Type &H, Type &P, Type &R)
 Description: Converts Euler to Heading, Pitch and Roll. More...
 
template<class Type >
Type FeetToMeters (Type Feet)
 
template<class Type >
void GeocentricToGeodetic (Type x, Type y, Type z, Type &lat, Type &lon, Type &alt, RefEllipsoid R)
 Description: Converts Geocentric Cartesian coords to Geodetic. More...
 
template<class Type >
void GeodeticToGeocentric (Type GeodeticLat, Type GeodeticLon, Type GeodeticHeight, Type &GeocentricX, Type &GeocentricY, Type &GeocentricZ, RefEllipsoid R)
 Description: Converts Geodetic coords to Geocentric Cartesian. More...
 
template<class Type >
void GetEllipsoidAxis (RefEllipsoid R, Type &MajorAxis, Type &MinorAxis)
 
template<class Type >
void HeadingPitchRollToEuler (Type H, Type P, Type R, Type Lat, Type Lon, Type &Psi, Type &Theta, Type &Phi)
 Description: Converts Heading, Pitch and Roll to Euler for DIS. More...
 
template<class Type >
Type MetersToFeet (Type Meters)
 
template<class Type >
Type RadToDeg (Type Rad)
 
template<class Type >
void RotateAboutAxis (Type d[3], Type const s[3], Type const n[3], Type t)
 

Macro Definition Documentation

#define _USE_MATH_DEFINES