isce3 0.25.0
|
Abstract base class for individual projections. More...
#include <Projections.h>
Public Member Functions | |
ProjectionBase (int code) | |
Value constructor with EPSG code as input. | |
int | code () const |
Return EPSG code. | |
const Ellipsoid & | ellipsoid () const |
Return underlying ellipsoid. | |
virtual void | print () const =0 |
Print function for debugging. | |
virtual int | forward (const Vec3 &llh, Vec3 &xyz) const =0 |
Function for transforming from LLH. | |
Vec3 | forward (const Vec3 &llh) const |
Function for transforming from LLH. | |
virtual int | inverse (const Vec3 &xyz, Vec3 &llh) const =0 |
Function for transforming to LLH. | |
Vec3 | inverse (const Vec3 &xyz) const |
Function for transforming to LLH. | |
Abstract base class for individual projections.
Internally, every derived class is expected to provide two functions. forward - To convert llh (radians) to expected projection system inverse - To convert expected projection system to llh (radians)
|
inline |
Value constructor with EPSG code as input.
Ellipsoid is always initialized to standard WGS84 ellipse.
Function for transforming from LLH.
This is similar to fwd or fwd3d in PROJ.4
[in] | llh | Lon/Lat/Height - Lon and Lat are in radians |
|
pure virtual |
Function for transforming from LLH.
This is similar to fwd or fwd3d in PROJ.4
[in] | llh | Lon/Lat/Height - Lon and Lat are in radians |
[out] | xyz | Coordinates in specified projection system |
Implemented in isce3::core::CEA, isce3::core::Geocent, isce3::core::LonLat, isce3::core::PolarStereo, and isce3::core::UTM.
Function for transforming to LLH.
This is similar to inv or inv3d in PROJ.4
[in] | xyz | Coordinates in specified projection system |
|
pure virtual |
Function for transforming to LLH.
This is similar to inv or inv3d in PROJ.4
[in] | xyz | Coordinates in specified projection system |
[out] | llh | Lat/Lon/Height - Lon and Lat are in radians |
Implemented in isce3::core::CEA, isce3::core::Geocent, isce3::core::LonLat, isce3::core::PolarStereo, and isce3::core::UTM.
|
pure virtual |
Print function for debugging.
Implemented in isce3::core::CEA, isce3::core::Geocent, isce3::core::LonLat, isce3::core::PolarStereo, and isce3::core::UTM.