ucar.unidata.geoloc
Class Earth

java.lang.Object
  extended by ucar.unidata.geoloc.Earth
Direct Known Subclasses:
EarthEllipsoid

public class Earth
extends java.lang.Object

Defines any necessary properties of the earth for use in georeferencing.

Author:
Russ Rew

Method Summary
 double getEccentricity()
          Get the eccentricity of the earth ellipsoid.
 double getFlattening()
          Get the flattening of the earth ellipsoid.
 double getMajor()
          Get the semimajor axis of the earth, in meters.
 double getMinor()
          Get the semiminor axis of the earth, in meters.
static double getRadius()
          Get radius of spherical earth, in meters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEccentricity

public double getEccentricity()
Get the eccentricity of the earth ellipsoid.

Returns:
eccentricity

getFlattening

public double getFlattening()
Get the flattening of the earth ellipsoid.

Returns:
flattening

getMajor

public double getMajor()
Get the semimajor axis of the earth, in meters.

Returns:
semimajor axis in meters

getMinor

public double getMinor()
Get the semiminor axis of the earth, in meters.

Returns:
semiminor axis in meters

getRadius

public static double getRadius()
Get radius of spherical earth, in meters

Returns:
radius in meters