A utility for converting from Cartesian in XZY to East-North-Up (ENU)
Definition at line 56 of file ENUUtil.hpp.
#include <ENUUtil.hpp>
Public Member Functions | |
gnsstk::Triple | convertToENU (const gnsstk::Triple &inVec) const |
gnsstk::Vector< double > | convertToENU (const gnsstk::Vector< double > &inV) const |
gnsstk::Xvt | convertToENU (const gnsstk::Xvt &in) const |
ENUUtil (const double refGeodeticLatRad, const double refLonRad) | |
void | updatePosition (const double refGDLatRad, 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 ENU and retains it for later use.
refGeodeticLatRad | geodetic latitude of point of interest (radians) |
refLonRad | longitude of point of interest (radians). |
Definition at line 47 of file ENUUtil.cpp.
Definition at line 55 of file ENUUtil.cpp.
gnsstk::Triple gnsstk::ENUUtil::convertToENU | ( | const gnsstk::Triple & | inVec | ) | const |
Convert from a vector in ECEF XYZ to ECEF ENU using the current rotation matrix.
[in] | inVec | vector of interest in ECEF XYZ. |
Definition at line 90 of file ENUUtil.cpp.
gnsstk::Vector< double > gnsstk::ENUUtil::convertToENU | ( | const gnsstk::Vector< double > & | inV | ) | const |
Convert from a vector in ECEF XYZ to ECEF ENU using the current rotation matrix.
[in] | inV | vector of interest in ECEF XYZ. |
Definition at line 77 of file ENUUtil.cpp.
gnsstk::Xvt gnsstk::ENUUtil::convertToENU | ( | const gnsstk::Xvt & | in | ) | const |
Convert from a vector in ECEF XYZ to ECEF ENU using the current rotation matrix.
[in] | in | vector of interest in ECEF XYZ. |
Definition at line 102 of file ENUUtil.cpp.
Update the rotation matrix to the new location without creating a new object
refGDLatRad | geodetic latitude of point of interest (radians) |
refLonRad | longitude of point of interest (radians). |
Definition at line 70 of file ENUUtil.cpp.
|
protected |
Definition at line 109 of file ENUUtil.hpp.