public class Ellipsoid extends CrsIdentifiable
An ellipsoid is an approximation of the Earth's surface as a squashed sphere. A common synonym is "spheroid". (See [CTS-1.00], p. 22-23.)
Constructor and Description |
---|
Ellipsoid(CrsId crsId,
String name,
double semiMajorAxis,
double inverseFlattening)
constructs an instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
double |
getInverseFlattening()
Returns the inverse flattening.
|
double |
getSemiMajorAxis()
Returns the semi-major axis of this
Ellipsoid. |
int |
hashCode() |
getCrsId, getName
public double getSemiMajorAxis()
Ellipsoid.
The semi-major axis is the equatorial radius in meters. [CTS-1.00], p. 61
public double getInverseFlattening()
The inverse flattening is related to the equatorial/polar radius by the formula ivf=re/(re-rp). For perfect spheres, this formula breaks down, and a special IVF value of zero is used. [CTS-1.00], p.61
public boolean equals(Object o)
equals
in class CrsIdentifiable
public int hashCode()
hashCode
in class CrsIdentifiable
Copyright © 2015 geolatte.org. All rights reserved.