org.opengis.cs
Interface CS_Ellipsoid

All Superinterfaces:
CS_Info, java.rmi.Remote
All Known Implementing Classes:
Ellipsoid.Export

public interface CS_Ellipsoid
extends CS_Info

An approximation of the Earth's surface as a squashed sphere.

Since:
1.00
Version:
1.01
Author:
Martin Daly

Method Summary
 CS_LinearUnit getAxisUnit()
          Returns the LinearUnit.
 double getInverseFlattening()
          Returns the value of the inverse of the flattening constant.
 double getSemiMajorAxis()
          Gets the equatorial radius.
 double getSemiMinorAxis()
          Gets the polar radius.
 boolean isIvfDefinitive()
          Is the Inverse Flattening definitive for this ellipsoid?
 
Methods inherited from interface org.opengis.cs.CS_Info
getAbbreviation, getAlias, getAuthority, getAuthorityCode, getName, getRemarks, getWKT, getXML
 

Method Detail

getSemiMajorAxis

public double getSemiMajorAxis()
                        throws java.rmi.RemoteException
Gets the equatorial radius. The returned length is expressed in this object's axis units.

Throws:
java.rmi.RemoteException - if a remote method call failed.

getSemiMinorAxis

public double getSemiMinorAxis()
                        throws java.rmi.RemoteException
Gets the polar radius. The returned length is expressed in this object's axis units.

Throws:
java.rmi.RemoteException - if a remote method call failed.

getInverseFlattening

public double getInverseFlattening()
                            throws java.rmi.RemoteException
Returns the value of the inverse of the flattening constant. 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.

Throws:
java.rmi.RemoteException - if a remote method call failed.

isIvfDefinitive

public boolean isIvfDefinitive()
                        throws java.rmi.RemoteException
Is the Inverse Flattening definitive for this ellipsoid? Some ellipsoids use the IVF as the defining value, and calculate the polar radius whenever asked. Other ellipsoids use the polar radius to calculate the IVF whenever asked. This distinction can be important to avoid floating-point rounding errors.

Throws:
java.rmi.RemoteException - if a remote method call failed.

getAxisUnit

public CS_LinearUnit getAxisUnit()
                          throws java.rmi.RemoteException
Returns the LinearUnit. The units of the semi-major and semi-minor axis values.

Throws:
java.rmi.RemoteException - if a remote method call failed.