1 #ifndef vcsl_spheroid_h_ 2 #define vcsl_spheroid_h_ 69 double a()
const {
return a_; }
72 double b()
const {
return b_; }
75 double e()
const {
return e_; }
78 double f()
const {
return f_; }
128 #endif // vcsl_spheroid_h_ bool operator==(const vcsl_spheroid &other) const
Is ‘this’ equal to ‘other’ ?.
vcsl_spheroid & operator=(const vcsl_spheroid &other)
void set_b(double new_b)
Set the minor axis of spheroid.
double a() const
Return the major axis of spheroid.
double e() const
Return the eccentricity of spheroid.
void set_f(double new_f)
Set the flattening of spheroid.
double a_
Major axis of spheroid.
vcsl_spheroid(const vcsl_std_spheroid s)
Constructor from a standard spheroid.
double e_
Eccentricity of spheroid.
double b_
Minor axis of spheroid.
vcsl_spheroid(const vcsl_spheroid &other)
double b() const
Return the minor axis of spheroid.
void set_from_std(const vcsl_std_spheroid new_std_spheroid)
Set from a standard spheroid.
double f_
Flattening of spheroid.
Reference sphere or ellipse for a geographic coordinate system.
void set_e(double new_e)
Set the eccentricity of spheroid.
void set_a(double new_a)
Set the major axis of spheroid.
double f() const
Return the flattening of spheroid.
~vcsl_spheroid() override=default
vcsl_spheroid()
Default constructor. Clark_1866 spheroid.