Package org.geolatte.geom.crs
Class Ellipsoid
- java.lang.Object
-
- org.geolatte.geom.crs.CrsIdentifiable
-
- org.geolatte.geom.crs.Ellipsoid
-
public class Ellipsoid extends CrsIdentifiable
An ellipsoid.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.)
- Author:
- Karel Maesen, Geovise BVBA creation-date: 8/2/11
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)doublegetInverseFlattening()Returns the inverse flattening.doublegetSemiMajorAxis()Returns the semi-major axis of thisEllipsoid.inthashCode()-
Methods inherited from class org.geolatte.geom.crs.CrsIdentifiable
getCrsId, getName
-
-
-
-
Method Detail
-
getSemiMajorAxis
public double getSemiMajorAxis()
Returns the semi-major axis of thisEllipsoid.The semi-major axis is the equatorial radius in meters. [CTS-1.00], p. 61
- Returns:
- the semi-major axis.
-
getInverseFlattening
public double getInverseFlattening()
Returns the inverse flattening.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
- Returns:
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCrsIdentifiable
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCrsIdentifiable
-
-