A geodetic datum defines a reference to measure Earth's surface. More...
#include <Datum.h>
Public Member Functions | |
Datum (const std::string &name="", Ellipsoid *ellps=0) | |
Constructor with parameters. More... | |
const Ellipsoid * | getEllipsoid () const |
Returns the Ellipsoid associated to the Datum. More... | |
const std::string & | getName () const |
Returns the Datum name. More... | |
const std::vector< double > & | getToWGS84Params () const |
Returns the WGS84 shifting parameters. More... | |
std::string | getWKT () const |
Returns a WKT string that represent the Datum. More... | |
void | setEllipsoid (Ellipsoid *ellps) |
Sets the Ellipsoid associated to the Datum. More... | |
void | setName (const std::string &name) |
Sets the Datum name. More... | |
void | setToWGS84Params (const std::vector< double > ¶ms) |
Sets the Datum shifting parameters relative to WGS84. More... | |
~Datum () | |
Destructor. More... | |
Private Attributes | |
Ellipsoid * | m_ellipsoid |
Reference ellipsoid. More... | |
std::string | m_name |
Datum name. More... | |
std::vector< double > | m_towgs84 |
To store shifting parametes necessary to execute Datum shifting to a WGS84 Datum. More... | |
A geodetic datum defines a reference to measure Earth's surface.
Planimetric datum parameters are used for defining geodetic coordinates, which are necessary to establish a map projection system.
te::srs::Datum::Datum | ( | const std::string & | name = "" , |
Ellipsoid * | ellps = 0 |
||
) |
te::srs::Datum::~Datum | ( | ) |
Destructor.
const Ellipsoid* te::srs::Datum::getEllipsoid | ( | ) | const |
const std::string& te::srs::Datum::getName | ( | ) | const |
Returns the Datum name.
const std::vector<double>& te::srs::Datum::getToWGS84Params | ( | ) | const |
Returns the WGS84 shifting parameters.
std::string te::srs::Datum::getWKT | ( | ) | const |
Returns a WKT string that represent the Datum.
void te::srs::Datum::setEllipsoid | ( | Ellipsoid * | ellps | ) |
void te::srs::Datum::setName | ( | const std::string & | name | ) |
void te::srs::Datum::setToWGS84Params | ( | const std::vector< double > & | params | ) |
|
private |
|
private |