13 #ifdef DtUSE_UTILITIES_NAMESPACE
14 namespace DtUSE_UTILITIES_NAMESPACE
26 const double theMultigenFlatEarthRadius = 6366707.02;
34 (theMultigenFlatEarthRadius *
M_PI)) / 180.0);
37 (theMultigenFlatEarthRadius * M_PI * cos(refLat))) / 180.0);
39 out.
setZ(geodeticPosition.
alt());
42 #ifdef DtUSE_UTILITIES_NAMESPACE
virtual DtFloat64 alt() const
Definition: geodeticCoord.h:108
double DtRad2Deg(double rad)
Converts Radians to Degrees.
Definition: vlMath.h:81
virtual DtGeodeticCoord & setGeocentric(const DtVector &geocentric)
Set from geocentric coordinate (convert geocentric to geodetic).
void setX(const T &x)
gets/sets the x component of a Vector
This file provides a definition of GeodeticCoords and several helper functions.
Instances of DtGeodeticCoord are used to explicitly represent Geodetic coordinates.
Definition: geodeticCoord.h:30
Definition: vlVector.h:224
void setZ(const T &z)
gets/sets the z component of a Vector
void setY(const T &y)
gets/sets the y component of a Vector
#define M_PI
Definition: vlMath.h:58
void DtGeocentricToMgFlatEarth(const DtVector &in, DtVector &out, const DtFloat64 &refLat, DtFloat64 &refLon) const
Preforms Multigen Flat Earth transforms from Geocentric Coordinates.
Definition: geocentricToMgFlatEarth.h:24
virtual DtFloat64 lat() const
Definition: geodeticCoord.h:98
virtual DtFloat64 lon() const
Definition: geodeticCoord.h:103