equip.position
Class GeoPositionGdc

java.lang.Object
  |
  +--equip.runtime.Object
        |
        +--equip.runtime.ValueBase
              |
              +--equip.position.GeoPosition
                    |
                    +--equip.position.GeoPositionGdc
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
GeoPositionGdcImpl

public abstract class GeoPositionGdc
extends GeoPosition

GDC - commonest? toGcc returns GCC. getGeoSystem -> GEO_SYSTEM_GDC.


Field Summary
 double elevation
          elevation in metres, above the ellipsoid.
protected  int ellipsoid
           
 double latitude
          latitude in degrees, -90...90.
 double longitude
          longitude in degrees, -180...360, 0=Greenwich Prime Meridian.
 
Constructor Summary
GeoPositionGdc()
           
 
Method Summary
 boolean _equals_helper(GeoPositionGdc c)
           
 boolean _matches_helper(GeoPositionGdc c)
           
 boolean equals(java.lang.Object c)
          Standard IDL-generated equality test.
abstract  int getEllipsoid()
           
 java.lang.String getModuleName()
          IDL-generated helper routine to get module name (currently unimplemented).
 boolean matches(java.lang.Object c)
          Standard IDL-generated template match test.
 void readObject(ObjectInputStream in)
          Internal serialisation helper.
abstract  void setEllipsoid(int ellipsoid)
          you really should set the ellipsoid this way (updates internal state)
abstract  void setFromGeoPositionGcc(GeoPositionGcc gccpos)
          set from GCC position
 void writeObject(ObjectOutputStream out)
          Internal serialisation helper.
 
Methods inherited from class equip.position.GeoPosition
_equals_helper, _matches_helper, getGeoSystem, getLocalRotation, toGcc
 
Methods inherited from class equip.runtime.ValueBase
_equals_helper, _matches_helper, clone
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ellipsoid

protected int ellipsoid

latitude

public double latitude
latitude in degrees, -90...90.


longitude

public double longitude
longitude in degrees, -180...360, 0=Greenwich Prime Meridian.


elevation

public double elevation
elevation in metres, above the ellipsoid.

Constructor Detail

GeoPositionGdc

public GeoPositionGdc()
Method Detail

setEllipsoid

public abstract void setEllipsoid(int ellipsoid)
you really should set the ellipsoid this way (updates internal state)


getEllipsoid

public abstract int getEllipsoid()

setFromGeoPositionGcc

public abstract void setFromGeoPositionGcc(GeoPositionGcc gccpos)
set from GCC position


getModuleName

public java.lang.String getModuleName()
Description copied from class: Object
IDL-generated helper routine to get module name (currently unimplemented).

Overrides:
getModuleName in class GeoPosition
Returns:
name of this class's module

equals

public boolean equals(java.lang.Object c)
Description copied from class: ValueBase
Standard IDL-generated equality test.

Overrides:
equals in class GeoPosition
Parameters:
c - The object to be compared against this.
Returns:
true if this is equal to c

_equals_helper

public boolean _equals_helper(GeoPositionGdc c)

matches

public boolean matches(java.lang.Object c)
Description copied from class: ValueBase
Standard IDL-generated template match test.

Overrides:
matches in class GeoPosition
Parameters:
c - The object to be checked against this template.
Returns:
true if this (as a template) matches the argument

_matches_helper

public boolean _matches_helper(GeoPositionGdc c)

writeObject

public void writeObject(ObjectOutputStream out)
                 throws java.io.IOException
Description copied from class: ValueBase
Internal serialisation helper. Used by ObjectInputStream and ObjectOutputStream only.

Overrides:
writeObject in class GeoPosition
java.io.IOException

readObject

public void readObject(ObjectInputStream in)
                throws java.io.IOException,
                       java.lang.ClassNotFoundException,
                       java.lang.InstantiationException
Description copied from class: ValueBase
Internal serialisation helper. Used by ObjectInputStream and ObjectOutputStream only.

Overrides:
readObject in class GeoPosition
java.io.IOException
java.lang.ClassNotFoundException
java.lang.InstantiationException