A reference ellipsoid is an approximation of the Earth's surface as a squashed sphere.
More...
#include <Ellipsoid.h>
A reference ellipsoid is an approximation of the Earth's surface as a squashed sphere.
- Note
- The terms "spheroid" and "ellipsoid" are synonymous.
Definition at line 50 of file Ellipsoid.h.
◆ Ellipsoid()
te::srs::Ellipsoid::Ellipsoid |
( |
const std::string & |
name = "" , |
|
|
double |
rad = 0.0 , |
|
|
double |
invflat = 0.0 |
|
) |
| |
Constructor with parameters.
- Parameters
-
name | Ellipsoid name (default empty string). |
rad | Semi-major axis (default 0.0); |
invflat | Inverse flattening (default 0.0). |
◆ getInverseFlattening()
double te::srs::Ellipsoid::getInverseFlattening |
( |
| ) |
const |
◆ getName()
const std::string & te::srs::Ellipsoid::getName |
( |
| ) |
const |
◆ getRadium()
double te::srs::Ellipsoid::getRadium |
( |
| ) |
const |
◆ getWKT()
std::string te::srs::Ellipsoid::getWKT |
( |
| ) |
const |
Returns a WKT string that represents the ellipsoid.
◆ setInverseFlattening()
void te::srs::Ellipsoid::setInverseFlattening |
( |
const double & |
invflat | ) |
|
Sets the Ellipsoid inverse flattening.
- Parameters
-
◆ setName()
void te::srs::Ellipsoid::setName |
( |
const std::string & |
name | ) |
|
◆ setRadium()
void te::srs::Ellipsoid::setRadium |
( |
const double & |
rad | ) |
|
◆ m_invFlattening
double te::srs::Ellipsoid::m_invFlattening |
|
private |
◆ m_name
std::string te::srs::Ellipsoid::m_name |
|
private |
◆ m_radium
double te::srs::Ellipsoid::m_radium |
|
private |
Earth equatorial radius (Meters)
Definition at line 96 of file Ellipsoid.h.
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/srs/Ellipsoid.h