A utility for converting from Cartesian in XZY to North-East-Down (NED)
Definition at line 56 of file NEDUtil.hpp.
#include <NEDUtil.hpp>
Public Member Functions | |
gnsstk::Triple | convertToNED (const gnsstk::Triple &inVec) const |
gnsstk::Vector< double > | convertToNED (const gnsstk::Vector< double > &inV) const |
gnsstk::Xvt | convertToNED (const gnsstk::Xvt &in) const |
NEDUtil (const double refGdLatRad, const double refLonRad) | |
void | updatePosition (const double refLatRad, const double refLonRad) |
Protected Member Functions | |
void | compute (const double refLat, const double refLon) |
Protected Attributes | |
Matrix< double > | rotMat |
Given a location as a (geodetic) latitude and longitude the constructor creates the appropriate rotation matrix from XYZ to NED and retains it for later use.
refGdLatRad | geodetic latitude of point of interest (radians) |
refLonRad | longitude of point of interest (radians). |
Definition at line 51 of file NEDUtil.cpp.
Definition at line 59 of file NEDUtil.cpp.
gnsstk::Triple gnsstk::NEDUtil::convertToNED | ( | const gnsstk::Triple & | inVec | ) | const |
Convert from a vector in ECEF XYZ to ECEF NED using the current rotation matrix.
[in] | inVec | vector of interest in ECEF XYZ. |
Definition at line 93 of file NEDUtil.cpp.
gnsstk::Vector< double > gnsstk::NEDUtil::convertToNED | ( | const gnsstk::Vector< double > & | inV | ) | const |
Convert from a vector in ECEF XYZ to ECEF NED using the current rotation matrix.
[in] | inV | vector of interest in ECEF XYZ. |
Definition at line 80 of file NEDUtil.cpp.
gnsstk::Xvt gnsstk::NEDUtil::convertToNED | ( | const gnsstk::Xvt & | in | ) | const |
Convert from a vector in ECEF XYZ to ECEF NED using the current rotation matrix.
[in] | in | vector of interest in ECEF XYZ. |
Definition at line 105 of file NEDUtil.cpp.
Update the rotation matrix to the new location without creating a new object
refLatRad | geodetic latitude of point of interest (radians) |
refLonRad | longitude of point of interest (radians). |
Definition at line 74 of file NEDUtil.cpp.
|
protected |
Definition at line 108 of file NEDUtil.hpp.