drasys.or.geom.geo
Interface EllipsoidI

All Known Implementing Classes:
Ellipsoid

public interface EllipsoidI

An interface used to abstractly access ellipsoids.


Method Summary
 double getEccentricity()
          Returns the eccentricity of the ellipsoid.
 double getEccentricitySquared()
          Returns the square of the eccentricity of the ellipsoid.
 double getEquatorialRadius()
          Returns the equatorial radius of the ellipsoid.
 double getFlattening()
          Returns the flattening of the ellipsoid.
 double getInverseMeridinalDistance(double distance)
          Returns the latitude in radians that is 'distance' from the equator.
 double getMeanRadius()
          Returns the mean radius of the ellipsoid.
 double getMeridinalDistance(double radians)
          Returns the meridinal distance from the equator to a latitude given in radians.
 double getMeridinalDistance(double radians, double sin, double cos)
          Returns the meridinal distance from the equator to a latitude given in radians.
 java.lang.String getName()
          Returns the name used to identify the ellipsoid.
 double getPolarRadius()
          Returns the polar radius of the ellipsoid.
 double greatCircleSphericalDistance(PointI point1, PointI point2)
          Returns the great circle distance in the units of the ellipsoid.
 

Method Detail

getName

public java.lang.String getName()
Returns the name used to identify the ellipsoid.

getFlattening

public double getFlattening()
Returns the flattening of the ellipsoid.

getEccentricity

public double getEccentricity()
Returns the eccentricity of the ellipsoid.

getEccentricitySquared

public double getEccentricitySquared()
Returns the square of the eccentricity of the ellipsoid.

getPolarRadius

public double getPolarRadius()
Returns the polar radius of the ellipsoid.

getEquatorialRadius

public double getEquatorialRadius()
Returns the equatorial radius of the ellipsoid.

getMeanRadius

public double getMeanRadius()
Returns the mean radius of the ellipsoid.

greatCircleSphericalDistance

public double greatCircleSphericalDistance(PointI point1,
                                           PointI point2)
Returns the great circle distance in the units of the ellipsoid.

getMeridinalDistance

public double getMeridinalDistance(double radians)
Returns the meridinal distance from the equator to a latitude given in radians. The arguments are the sin and cos of the latitude.

getMeridinalDistance

public double getMeridinalDistance(double radians,
                                   double sin,
                                   double cos)
Returns the meridinal distance from the equator to a latitude given in radians. The arguments are the sin and cos of the latitude.

getInverseMeridinalDistance

public double getInverseMeridinalDistance(double distance)
Returns the latitude in radians that is 'distance' from the equator.


Copyright(C)1997-2000 by DRA Systems all rights reserved. OpsResearch.com