KDIS  2-8-x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
KDIS::UTILS Namespace Reference

Namespaces

 Math
 

Classes

class  DeadReckoningCalculator
 
class  DIS_Logger_Playback
 
class  DIS_Logger_Record
 
class  FactoryFilterExerciseID
 
class  KRef_Ptr
 
class  Matrix
 
class  PDU_Factory
 
class  PDU_Factory_Filter
 

Typedefs

typedef KDIS::KUINT16 RefCounter
 
typedef Matrix< KFLOAT32, 3, 3 > TMATRIX
 

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)
 

Typedef Documentation

typedef Matrix<KFLOAT32, 3, 3> TMATRIX

Enumeration Type Documentation

Enumerator
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 

Function Documentation

Type KDIS::UTILS::RadToDeg ( Type  Rad)
inline
Type KDIS::UTILS::DegToRad ( Type  Deg)
inline
Type KDIS::UTILS::FeetToMeters ( Type  Feet)
inline
Type KDIS::UTILS::MetersToFeet ( Type  Meters)
inline
void KDIS::UTILS::GetEllipsoidAxis ( RefEllipsoid  R,
Type &  MajorAxis,
Type &  MinorAxis 
)
inline
void KDIS::UTILS::DecimalToDMS ( Type  Decimal,
Type &  DegOUT,
Type &  MinOUT,
Type &  SecOUT 
)
inline
Type KDIS::UTILS::DMSToDecimal ( Type  Deg,
Type  Min,
Type  Sec 
)
inline
void KDIS::UTILS::GeodeticToGeocentric ( Type  GeodeticLat,
Type  GeodeticLon,
Type  GeodeticHeight,
Type &  GeocentricX,
Type &  GeocentricY,
Type &  GeocentricZ,
RefEllipsoid  R 
)
inline

Description: Converts Geodetic coords to Geocentric Cartesian.

void KDIS::UTILS::GeocentricToGeodetic ( Type  x,
Type  y,
Type  z,
Type &  lat,
Type &  lon,
Type &  alt,
RefEllipsoid  R 
)
inline

Description: Converts Geocentric Cartesian coords to Geodetic.

void KDIS::UTILS::RotateAboutAxis ( Type  d[3],
Type const  s[3],
Type const  n[3],
Type  t 
)
inline
void KDIS::UTILS::Cross ( Type  d[3],
Type const  a[3],
Type const  b[3] 
)
inline
double KDIS::UTILS::Dot ( Type const  a[3],
Type const  b[3] 
)
inline
void KDIS::UTILS::HeadingPitchRollToEuler ( Type  H,
Type  P,
Type  R,
Type  Lat,
Type  Lon,
Type &  Psi,
Type &  Theta,
Type &  Phi 
)
inline

Description: Converts Heading, Pitch and Roll to Euler for DIS.

void KDIS::UTILS::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.