25 #include "../common/Translator.h"
34 m_invFlattening(invflat)
59 return m_invFlattening;
64 m_invFlattening = invflat;
70 std::ostringstream sstr;
73 std::string wkt =
"SPHEROID[\"";
80 sstr << m_invFlattening;
void setRadium(const double &rad)
Sets the Ellipsoid radium.
void setName(const std::string &name)
Sets the Ellipsoid name.
std::string getWKT() const
Returns a WKT string that represents the ellipsoid.
Ellipsoid(const std::string &name="", double rad=0.0, double invflat=0.0)
Constructor with parameters.
void setInverseFlattening(const double &invflat)
Sets the Ellipsoid inverse flattening.
double getInverseFlattening() const
Returns the Ellipsoid inverse flattening.
double getRadium() const
Returns the Ellipsoid radium.
const std::string & getName() const
Returns the Ellipsoid name.
This file contains the structs necessary to model an Ellipsoid.