com.mapinfo.coordsys
Class Ellipsoid

java.lang.Object
  |
  +--com.mapinfo.coordsys.SpatialReferenceInfo
        |
        +--com.mapinfo.coordsys.Ellipsoid
All Implemented Interfaces:
java.io.Serializable

public class Ellipsoid
extends com.mapinfo.coordsys.SpatialReferenceInfo

This class holds the information that defines an Ellipsoid. Ellipsoid objects are defined by the length, in meters, of the semimajor axis and its degree of flattening value. This objest is created through the CoordSysFactory.createEllipsoid(String,String).

See Also:
Serialized Form

Field Summary
static Ellipsoid clarke66
          Clarke 1866 Ellipsoid.
static Ellipsoid GRS80
          The GRS 80 Ellipsoid.
static short INDEX_AIRY
           
static short INDEX_ATS77
           
static short INDEX_AUSTRALIAN
           
static short INDEX_BESSEL
           
static short INDEX_CLARKE58
           
static short INDEX_CLARKE66
           
static short INDEX_CLARKE80
           
static short INDEX_CLARKE80_IGN
           
static short INDEX_EVEREST
           
static short INDEX_EVEREST_PAKISTAN
           
static short INDEX_FISCHER60
           
static short INDEX_FISCHER68
           
static short INDEX_GRS67
           
static short INDEX_GRS80
           
static short INDEX_HAYFORD
           
static short INDEX_HELMERT
           
static short INDEX_HOUGH
           
static short INDEX_IAG75
           
static short INDEX_IGNORE
           
static short INDEX_INDONESIAN
           
static short INDEX_INTERNATIONAL
           
static short INDEX_IRISH_WOFO
           
static short INDEX_KRASSOVSKY
           
static short INDEX_MERIT83
           
static short INDEX_MOD_AIRY
           
static short INDEX_MOD_CLARKE66
           
static short INDEX_MOD_FISCHER60
           
static short INDEX_MOD1_BESSEL
           
static short INDEX_MOD1_CLARKE80
           
static short INDEX_MOD1_EVEREST
           
static short INDEX_MOD2_BESSEL
           
static short INDEX_MOD2_CLARKE80
           
static short INDEX_MOD2_EVEREST
           
static short INDEX_MOD3_CLARKE80
           
static short INDEX_MOD3_EVEREST
           
static short INDEX_MOD4_CLARKE80
           
static short INDEX_MOD4_EVEREST
           
static short INDEX_NEW_INTL67
           
static short INDEX_NWL_10D
           
static short INDEX_NWL_9D
           
static short INDEX_OSU86F
           
static short INDEX_OSU91A
           
static short INDEX_PLESSIS
           
static short INDEX_PZ90
           
static short INDEX_SOUTH_AMERICAN
           
static short INDEX_SPHERE
           
static short INDEX_STRUVE
           
static short INDEX_WALBECK
           
static short INDEX_WAR_OFFICE
           
static short INDEX_WGS60
           
static short INDEX_WGS66
           
static short INDEX_WGS72
           
static short INDEX_WGS84
           
static short INDEX_XIAN_1980
           
static Ellipsoid modClarke66
          Modified Clarke 1866 Ellipsoid.
static Ellipsoid none
          The Ellipsoid used for datumless coordinate systems.
static Ellipsoid sphere
          Spherical Ellipsoid.
static Ellipsoid WGS84
          The WGS 84 Ellipsoid.
 
Constructor Summary
 
Method Summary
 boolean equals(java.lang.Object object)
          Indicates whether some other object is "equal to" this one.
 boolean equivalent(Ellipsoid ellipsoid)
          Indicates whether some other Ellipsoid is "equivalent to" this one.
 LinearUnit getAxisUnit()
          Return the unit the axis values are in.
 double getEccentricity()
          Return the eccentricity of the Ellipsoid.
 double getInverseFlattening()
          Return the inverse flattenting value of the Ellipsoid.
 double getSemiMajorAxis()
          Return the SemiMajor Axis value.
 double getSemiMinorAxis()
          Return the SemiMinor Axis value.
 
Methods inherited from class com.mapinfo.coordsys.SpatialReferenceInfo
getAbbreviation, getAlias, getCode, getCodeSpace, getName, getRemarks, getSrsName
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INDEX_GRS80

public static final short INDEX_GRS80
See Also:
Constant Field Values

INDEX_WGS72

public static final short INDEX_WGS72
See Also:
Constant Field Values

INDEX_AUSTRALIAN

public static final short INDEX_AUSTRALIAN
See Also:
Constant Field Values

INDEX_KRASSOVSKY

public static final short INDEX_KRASSOVSKY
See Also:
Constant Field Values

INDEX_INTERNATIONAL

public static final short INDEX_INTERNATIONAL
See Also:
Constant Field Values

INDEX_HAYFORD

public static final short INDEX_HAYFORD
See Also:
Constant Field Values

INDEX_CLARKE80

public static final short INDEX_CLARKE80
See Also:
Constant Field Values

INDEX_CLARKE66

public static final short INDEX_CLARKE66
See Also:
Constant Field Values

INDEX_MOD_CLARKE66

public static final short INDEX_MOD_CLARKE66
See Also:
Constant Field Values

INDEX_AIRY

public static final short INDEX_AIRY
See Also:
Constant Field Values

INDEX_BESSEL

public static final short INDEX_BESSEL
See Also:
Constant Field Values

INDEX_EVEREST

public static final short INDEX_EVEREST
See Also:
Constant Field Values

INDEX_SPHERE

public static final short INDEX_SPHERE
See Also:
Constant Field Values

INDEX_MOD_AIRY

public static final short INDEX_MOD_AIRY
See Also:
Constant Field Values

INDEX_MOD1_BESSEL

public static final short INDEX_MOD1_BESSEL
See Also:
Constant Field Values

INDEX_MOD1_CLARKE80

public static final short INDEX_MOD1_CLARKE80
See Also:
Constant Field Values

INDEX_MOD2_CLARKE80

public static final short INDEX_MOD2_CLARKE80
See Also:
Constant Field Values

INDEX_MOD1_EVEREST

public static final short INDEX_MOD1_EVEREST
See Also:
Constant Field Values

INDEX_FISCHER60

public static final short INDEX_FISCHER60
See Also:
Constant Field Values

INDEX_MOD_FISCHER60

public static final short INDEX_MOD_FISCHER60
See Also:
Constant Field Values

INDEX_FISCHER68

public static final short INDEX_FISCHER68
See Also:
Constant Field Values

INDEX_GRS67

public static final short INDEX_GRS67
See Also:
Constant Field Values

INDEX_HELMERT

public static final short INDEX_HELMERT
See Also:
Constant Field Values

INDEX_HOUGH

public static final short INDEX_HOUGH
See Also:
Constant Field Values

INDEX_SOUTH_AMERICAN

public static final short INDEX_SOUTH_AMERICAN
See Also:
Constant Field Values

INDEX_WAR_OFFICE

public static final short INDEX_WAR_OFFICE
See Also:
Constant Field Values

INDEX_WGS60

public static final short INDEX_WGS60
See Also:
Constant Field Values

INDEX_WGS66

public static final short INDEX_WGS66
See Also:
Constant Field Values

INDEX_WGS84

public static final short INDEX_WGS84
See Also:
Constant Field Values

INDEX_IGNORE

public static final short INDEX_IGNORE
See Also:
Constant Field Values

INDEX_CLARKE80_IGN

public static final short INDEX_CLARKE80_IGN
See Also:
Constant Field Values

INDEX_IAG75

public static final short INDEX_IAG75
See Also:
Constant Field Values

INDEX_MERIT83

public static final short INDEX_MERIT83
See Also:
Constant Field Values

INDEX_NEW_INTL67

public static final short INDEX_NEW_INTL67
See Also:
Constant Field Values

INDEX_WALBECK

public static final short INDEX_WALBECK
See Also:
Constant Field Values

INDEX_MOD2_BESSEL

public static final short INDEX_MOD2_BESSEL
See Also:
Constant Field Values

INDEX_CLARKE58

public static final short INDEX_CLARKE58
See Also:
Constant Field Values

INDEX_MOD3_CLARKE80

public static final short INDEX_MOD3_CLARKE80
See Also:
Constant Field Values

INDEX_MOD4_CLARKE80

public static final short INDEX_MOD4_CLARKE80
See Also:
Constant Field Values

INDEX_MOD2_EVEREST

public static final short INDEX_MOD2_EVEREST
See Also:
Constant Field Values

INDEX_MOD3_EVEREST

public static final short INDEX_MOD3_EVEREST
See Also:
Constant Field Values

INDEX_INDONESIAN

public static final short INDEX_INDONESIAN
See Also:
Constant Field Values

INDEX_NWL_9D

public static final short INDEX_NWL_9D
See Also:
Constant Field Values

INDEX_NWL_10D

public static final short INDEX_NWL_10D
See Also:
Constant Field Values

INDEX_OSU86F

public static final short INDEX_OSU86F
See Also:
Constant Field Values

INDEX_OSU91A

public static final short INDEX_OSU91A
See Also:
Constant Field Values

INDEX_PLESSIS

public static final short INDEX_PLESSIS
See Also:
Constant Field Values

INDEX_STRUVE

public static final short INDEX_STRUVE
See Also:
Constant Field Values

INDEX_MOD4_EVEREST

public static final short INDEX_MOD4_EVEREST
See Also:
Constant Field Values

INDEX_IRISH_WOFO

public static final short INDEX_IRISH_WOFO
See Also:
Constant Field Values

INDEX_EVEREST_PAKISTAN

public static final short INDEX_EVEREST_PAKISTAN
See Also:
Constant Field Values

INDEX_ATS77

public static final short INDEX_ATS77
See Also:
Constant Field Values

INDEX_PZ90

public static final short INDEX_PZ90
See Also:
Constant Field Values

INDEX_XIAN_1980

public static final short INDEX_XIAN_1980
See Also:
Constant Field Values

none

public static final Ellipsoid none
The Ellipsoid used for datumless coordinate systems.


GRS80

public static final Ellipsoid GRS80
The GRS 80 Ellipsoid.


WGS84

public static final Ellipsoid WGS84
The WGS 84 Ellipsoid.


sphere

public static final Ellipsoid sphere
Spherical Ellipsoid.


clarke66

public static final Ellipsoid clarke66
Clarke 1866 Ellipsoid.


modClarke66

public static final Ellipsoid modClarke66
Modified Clarke 1866 Ellipsoid.

Constructor Detail
Method Detail

getSemiMajorAxis

public double getSemiMajorAxis()
Return the SemiMajor Axis value.

Returns:
The SemiMajor Axis value.

getSemiMinorAxis

public double getSemiMinorAxis()
Return the SemiMinor Axis value.

Returns:
The SemiMinor Axis value.

getInverseFlattening

public double getInverseFlattening()
Return the inverse flattenting value of the Ellipsoid.

Returns:
The inverse flattenting value.

getAxisUnit

public LinearUnit getAxisUnit()
Return the unit the axis values are in.

Returns:
A LinearUnit of the axis value, ie meter.

getEccentricity

public double getEccentricity()
Return the eccentricity of the Ellipsoid.

Returns:
The eccentricity.

equals

public boolean equals(java.lang.Object object)
Indicates whether some other object is "equal to" this one.

Overrides:
equals in class java.lang.Object
Parameters:
object - - the reference object with which to compare.
Returns:
true if this object is the same as the obj argument; false otherwise.

equivalent

public boolean equivalent(Ellipsoid ellipsoid)
Indicates whether some other Ellipsoid is "equivalent to" this one.

Parameters:
ellipsoid - The reference object with which to compare.
Returns:
true if this object has the same defining members; false otherwise.