![]() |
TerraLib 4.1
|
Implements valid Datum options and related parameters which account for different earth spheroids. More...
#include <TeDatum.h>
Public Member Functions | |
| TeDatum (std::string name="Spherical", double rd=6.371000e+06, double flt=0., double dx=0., double dy=0., double dz=0.) | |
| Constructor. | |
| TeDatum (const TeDatum &other) | |
| Copy constructor. | |
| TeDatum & | operator= (const TeDatum &rhs) |
| Operator =. | |
| ~TeDatum () | |
| Destructor. | |
| std::string | name () const |
| Returns the datum name. | |
| void | name (const std::string &name) |
| Sets the datum name. | |
| double | radius () const |
| Returns Earth equatorial radius (m) | |
| void | radius (const double rd) |
| Sets Earth equatorial radius (m) | |
| double | flattening () const |
| Returns the Earth equatorial radius (m) (m) | |
| void | flattening (const double flt) |
| Sets the Earth equatorial radius (m) (m) | |
| double | xShift () const |
| Returns the shift along x axis (m) | |
| double | yShift () const |
| Returns the shift along y axis (m) | |
| double | zShift () const |
| Returns the shift along z axis (m) | |
| bool | operator== (const TeDatum &dat) const |
| Verifies if current TeDatum is equal to TeDatum& dat. | |
| string | getProj4Description () |
| Returns the Datum description in PROJ4 format. | |
| string | getWKTDescription () |
| Returns the Datum description in WKT format. | |
Public Attributes | |
| double | dx_ |
| TeDatum shift along x axis (m) | |
| double | dy_ |
| TeDatum shift along y axis (m) | |
| double | dz_ |
| TeDatum shift along z axis (m) | |
Implements valid Datum options and related parameters which account for different earth spheroids.
Specifies planimetric TeDatum parameters to be used for defining geodetic coordinates, which are necessary to establish a map projection system. It encapsulates the following important information regarding a planimetric Datum such as:
| TeDatum::TeDatum | ( | std::string | name = "Spherical", |
| double | rd = 6.371000e+06, |
||
| double | flt = 0., |
||
| double | dx = 0., |
||
| double | dy = 0., |
||
| double | dz = 0. |
||
| ) | [inline] |
Constructor.
| TeDatum::TeDatum | ( | const TeDatum & | other | ) |
Copy constructor.
| TeDatum::~TeDatum | ( | ) | [inline] |
Destructor.
| double TeDatum::flattening | ( | ) | const [inline] |
Returns the Earth equatorial radius (m) (m)
| void TeDatum::flattening | ( | const double | flt | ) | [inline] |
Sets the Earth equatorial radius (m) (m)
| string TeDatum::getProj4Description | ( | ) |
Returns the Datum description in PROJ4 format.
| string TeDatum::getWKTDescription | ( | ) |
Returns the Datum description in WKT format.
| void TeDatum::name | ( | const std::string & | name | ) | [inline] |
Sets the datum name.
| std::string TeDatum::name | ( | ) | const [inline] |
Returns the datum name.
| bool TeDatum::operator== | ( | const TeDatum & | dat | ) | const [inline] |
| double TeDatum::radius | ( | ) | const [inline] |
Returns Earth equatorial radius (m)
| void TeDatum::radius | ( | const double | rd | ) | [inline] |
Sets Earth equatorial radius (m)
| double TeDatum::xShift | ( | ) | const [inline] |
Returns the shift along x axis (m)
| double TeDatum::yShift | ( | ) | const [inline] |
Returns the shift along y axis (m)
| double TeDatum::zShift | ( | ) | const [inline] |
Returns the shift along z axis (m)
| double TeDatum::dx_ |
TeDatum shift along x axis (m)
| double TeDatum::dy_ |
TeDatum shift along y axis (m)
| double TeDatum::dz_ |
TeDatum shift along z axis (m)