gistoolkit.projection.ellipsoid
Class SimpleEllipsoid

java.lang.Object
  extended bygistoolkit.projection.ellipsoid.SimpleEllipsoid
All Implemented Interfaces:
Ellipsoid
Direct Known Subclasses:
Airy1830, Airy1830Modified, Clarke1866, EPSGEllipsoid, GRS80, I1924UTM, WGS84

public class SimpleEllipsoid
extends java.lang.Object
implements Ellipsoid

Simple class to be used as a super class of sub Ellipsoids.


Constructor Summary
SimpleEllipsoid()
          Creates new SimpleEllipsoid
 
Method Summary
 java.lang.String getDescriptiveName()
          Returns a description of the Ellipsoid, good place for any aliases.
 double getMajorAxis()
          Returns the semi-major axis of the Ellipsoid.
 double getMinorAxis()
          Returns the semi-minor axis.
 java.lang.String getName()
          Returns the name of the Ellipsoid.
 java.lang.String getUnitOfMeasure()
          Returns the unit of measure for this ellipsoid.
 void setDescriptiveName(java.lang.String inDescriptiveName)
          Set the descriptive name to be displayed to the user
 void setMajorAxis(double inMajorAxis)
          set the major axis for this Ellipsoid
 void setMinorAxis(double inMinorAxis)
          set the minor axis for this Ellipsoid
 void setName(java.lang.String inName)
          set the name of the Ellipsoid to be displayed to the user
 void setUnitOfMeasure(java.lang.String inUnitOfMeasure)
          Sset the unit of measure of this ellipsoid
 java.lang.String toString()
          Return the name of the Ellipsoid as the to string value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleEllipsoid

public SimpleEllipsoid()
Creates new SimpleEllipsoid

Method Detail

setMajorAxis

public void setMajorAxis(double inMajorAxis)
set the major axis for this Ellipsoid


setMinorAxis

public void setMinorAxis(double inMinorAxis)
set the minor axis for this Ellipsoid


setUnitOfMeasure

public void setUnitOfMeasure(java.lang.String inUnitOfMeasure)
Sset the unit of measure of this ellipsoid


setName

public void setName(java.lang.String inName)
set the name of the Ellipsoid to be displayed to the user


setDescriptiveName

public void setDescriptiveName(java.lang.String inDescriptiveName)
Set the descriptive name to be displayed to the user


getMajorAxis

public double getMajorAxis()
Returns the semi-major axis of the Ellipsoid.

Specified by:
getMajorAxis in interface Ellipsoid

getMinorAxis

public double getMinorAxis()
Returns the semi-minor axis.

Specified by:
getMinorAxis in interface Ellipsoid

getUnitOfMeasure

public java.lang.String getUnitOfMeasure()
Returns the unit of measure for this ellipsoid.

Specified by:
getUnitOfMeasure in interface Ellipsoid

getName

public java.lang.String getName()
Returns the name of the Ellipsoid.

Specified by:
getName in interface Ellipsoid

getDescriptiveName

public java.lang.String getDescriptiveName()
Returns a description of the Ellipsoid, good place for any aliases.

Specified by:
getDescriptiveName in interface Ellipsoid

toString

public java.lang.String toString()
Return the name of the Ellipsoid as the to string value.