7 #ifndef __TERRALIB_SRS_INTERNAL_DATUM_H
8 #define __TERRALIB_SRS_INTERNAL_DATUM_H
A geodetic datum defines a reference to measure Earth's surface.
Datum(const std::string &name="", Ellipsoid *ellps=0)
Constructor with parameters.
Ellipsoid * m_ellipsoid
Reference ellipsoid.
void setName(const std::string &name)
Sets the Datum name.
std::string getWKT() const
Returns a WKT string that represent the Datum.
const std::string & getName() const
Returns the Datum name.
std::vector< double > m_towgs84
To store shifting parametes necessary to execute Datum shifting to a WGS84 Datum.
const Ellipsoid * getEllipsoid() const
Returns the Ellipsoid associated to the Datum.
std::string m_name
Datum name.
const std::vector< double > & getToWGS84Params() const
Returns the WGS84 shifting parameters.
void setEllipsoid(Ellipsoid *ellps)
Sets the Ellipsoid associated to the Datum.
void setToWGS84Params(const std::vector< double > ¶ms)
Sets the Datum shifting parameters relative to WGS84.
A reference ellipsoid is an approximation of the Earth's surface as a squashed sphere.
#define TESRSEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).