Data structure to assist with Peg point transformations. More...
#include <Pegtrans.h>
Public Member Functions | |
Pegtrans () | |
Empty constructor. | |
matinv (p.matinv) | |
ov (p.ov) | |
radcur (p.radcur) | |
void | radarToXYZ (const Ellipsoid &elp, const Peg &p) |
Compute transformation matrices for a given Peg point. More... | |
void | convertXYZtoSCH (const cartesian_t &xyzv, cartesian_t &schv) const |
Transform ECEF coordinates to SCH. More... | |
void | convertSCHtoXYZ (const cartesian_t &schv, cartesian_t &xyzv) const |
Transform SCH coordinates to ECEF. More... | |
void | convertXYZdotToSCHdot (const cartesian_t &sch, const cartesian_t &xyzdot, cartesian_t &schdot) const |
Transform ECEF velocity to SCH. More... | |
void | convertSCHdotToXYZdot (const cartesian_t &sch, const cartesian_t &schdot, cartesian_t &xyzdot) const |
Transform SCH velocity to ECEF. More... | |
void | SCHbasis (const cartesian_t &, cartmat_t &, cartmat_t &) const |
Compute the transform matrix from ECEF to local SCH frame. | |
Public Attributes | |
cartmat_t | mat |
Transformation matrix from SCH to ECEF. | |
cartmat_t | matinv |
Transformation matrix from ECEF to SCH. | |
cartesian_t | ov |
Offset vector between center of Ellipsoid and center of local sphere. | |
double | radcur |
Radius of curvature of local sphere. | |
matinv | |
Data structure to assist with Peg point transformations.
This data structure stores matrices and offset vectors needed to transform ECEF vectors to SCH and vice-versa
void Pegtrans::convertSCHdotToXYZdot | ( | const cartesian_t & | sch, |
const cartesian_t & | schdot, | ||
cartesian_t & | xyzdot | ||
) | const |
Transform SCH velocity to ECEF.
[in] | sch | SCH coordinates |
[in] | schdot | SCH velocity in m/s |
[out] | xyzdot | ECEF velocity in m/s |
void Pegtrans::convertSCHtoXYZ | ( | const cartesian_t & | schv, |
cartesian_t & | xyzv | ||
) | const |
Transform SCH coordinates to ECEF.
[in] | schv | SCH position (m) |
[out] | xyzv | ECEF position (m) |
void Pegtrans::convertXYZdotToSCHdot | ( | const cartesian_t & | sch, |
const cartesian_t & | xyzdot, | ||
cartesian_t & | schdot | ||
) | const |
Transform ECEF velocity to SCH.
[in] | sch | SCH coordinates of platform from convertXYZtoSCH |
[in] | xyzdot | ECEF velocity in m/s |
[out] | schdot | SCH velocity in m/s |
void Pegtrans::convertXYZtoSCH | ( | const cartesian_t & | xyzv, |
cartesian_t & | schv | ||
) | const |
Transform ECEF coordinates to SCH.
[in] | xyzv | ECEF position (m) |
[out] | schv | SCH position (m) |