equip.position
Class GeoPosition

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

public abstract class GeoPosition
extends ValueBase

abstract base class for all geo position types


Constructor Summary
GeoPosition()
           
 
Method Summary
 boolean _equals_helper(GeoPosition c)
           
 boolean _matches_helper(GeoPosition c)
           
 boolean equals(java.lang.Object c)
          Standard IDL-generated equality test.
abstract  int getGeoSystem()
          virtual - defined in base classes
abstract  Quaternion3D getLocalRotation()
          returns the rotation that must be applied to rotate a non-geo-referenced local coordinate system (with +x to the right, +y up and +z out of the screen) to the corresponding geo-referenced position of this object such that +x is east, +y is normal to the tangent of the ellipsoid at this point (x,y,z) (i.e. up), and -z is towards the north pole.
 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  GeoPositionGcc toGcc()
          convert to GCC
 void writeObject(ObjectOutputStream out)
          Internal serialisation helper.
 
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
 

Constructor Detail

GeoPosition

public GeoPosition()
Method Detail

toGcc

public abstract GeoPositionGcc toGcc()
convert to GCC


getGeoSystem

public abstract int getGeoSystem()
virtual - defined in base classes


getLocalRotation

public abstract Quaternion3D getLocalRotation()
returns the rotation that must be applied to rotate a non-geo-referenced local coordinate system (with +x to the right, +y up and +z out of the screen) to the corresponding geo-referenced position of this object such that +x is east, +y is normal to the tangent of the ellipsoid at this point (x,y,z) (i.e. up), and -z is towards the north pole. NB only guaranteed to be implemented by GeoPositionGcc (but might actually be more efficient in Gdc, hence putting it here).


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 Object
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 ValueBase
Parameters:
c - The object to be compared against this.
Returns:
true if this is equal to c

_equals_helper

public boolean _equals_helper(GeoPosition c)

matches

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

Overrides:
matches in class ValueBase
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(GeoPosition 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 ValueBase
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 ValueBase
java.io.IOException
java.lang.ClassNotFoundException
java.lang.InstantiationException