Class TLcdGeoidReference

java.lang.Object
com.luciad.reference.TLcdGeoidReference
All Implemented Interfaces:
ILcdModelReference, ILcdGeoidReference, ILcdGeoReference, ILcdCloneable, Serializable, Cloneable

public class TLcdGeoidReference extends Object implements ILcdGeoidReference, ILcdModelReference
Deprecated.
Use the new vertical datum support in com.luciad.geodesy.ILcdGeodeticDatum as this allows to use geoids for geodetic datums and ILcdGeoReference instances such as com.luciad.reference.ILcdGridReference.
A TLcdGeoidReference is an implementation of an ILcdGeodeticModelReference.
See Also:
  • Constructor Details

    • TLcdGeoidReference

      public TLcdGeoidReference()
      Deprecated.
      Default constructor with null ILcdGeodeticDatum and ILcdVerticalDatum.
    • TLcdGeoidReference

      public TLcdGeoidReference(ILcdGeodeticDatum aGeodeticDatum, ILcdVerticalDatum aVerticalDatum)
      Deprecated.
      Constructor with an ILcdGeodeticDatum and an ILcdVerticalDatum.
      Parameters:
      aGeodeticDatum - the geodetic datum on which this reference is based.
      aVerticalDatum - the vertical datum on which this reference is based.
  • Method Details

    • getGeodeticDatum

      public ILcdGeodeticDatum getGeodeticDatum()
      Deprecated.
      Description copied from interface: ILcdGeoReference
      Returns the ILcdGeodeticDatum of this ILcdGeoReference.
      Specified by:
      getGeodeticDatum in interface ILcdGeoReference
      Returns:
      the ILcdGeodeticDatum of this ILcdGeoReference.
      See Also:
    • getVerticalDatum

      public ILcdVerticalDatum getVerticalDatum()
      Deprecated.
      Description copied from interface: ILcdGeoidReference
      Returns the ILcdVerticalDatum of this ILcdGeoidReference.
      Specified by:
      getVerticalDatum in interface ILcdGeoidReference
      Returns:
      the ILcdVerticalDatum of this ILcdGeoidReference.
      See Also:
    • getCoordinateType

      public int getCoordinateType()
      Deprecated.
      Description copied from interface: ILcdGeoReference
      Returns the type of coordinates used with this ILcdGeoReference: CARTESIAN or GEODETIC.
      Specified by:
      getCoordinateType in interface ILcdGeoReference
      Returns:
      the type of coordinates used with this ILcdGeoReference: CARTESIAN or GEODETIC.
    • makeModelPoint

      public ILcdPoint makeModelPoint()
      Deprecated.
      Description copied from interface: ILcdModelReference
      Creates a model point that is compatible with this model reference. It is unspecified how (which coordinates) the point is initialized. Users should initialize the point correctly before inserting it into a model.
      Specified by:
      makeModelPoint in interface ILcdModelReference
      Returns:
      a point that is compatible with this model reference.
    • loadProperties

      public void loadProperties(String aPrefix, Properties aProperties) throws IllegalArgumentException
      Deprecated.
      This method will, given aPrefix and aProperties, set its property geodeticDatum to an instance of ILcdGeodeticDatum. To be able to set the property geodeticDatum the aProperties should contain entries which will be analyzed by the TLcdGeodeticDatumFactory. The keys of those entries should begin with '<aPrefix>TLcdGeoidReference.geodeticDatum.'.
      Specified by:
      loadProperties in interface ILcdModelReference
      Parameters:
      aPrefix - a common prefix for all property names that are read.
      aProperties - the properties to be parsed.
      Throws:
      IllegalArgumentException - if the model reference cannot be constructed from the properties.
    • writePropertiesSFCT

      public void writePropertiesSFCT(String aPrefix, Properties aPropertiesSFCT) throws IllegalArgumentException
      Deprecated.
      Description copied from interface: ILcdModelReference
      Stores the properties that define this model reference into the specified Properties object as a side effect. Each particular implementation of this interface can define which properties it stores.
      Specified by:
      writePropertiesSFCT in interface ILcdModelReference
      Parameters:
      aPrefix - a common prefix for all property names written.
      aPropertiesSFCT - the properties that will contain the serialized properties for this model reference, as a side effect.
      Throws:
      IllegalArgumentException - if the model reference cannot be serialized into properties.
      See Also:
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • clone

      public Object clone()
      Deprecated.
      Description copied from interface: ILcdCloneable

      Makes Object.clone() public.

      When for example extending from java.lang.Object, it can be implemented like this:
      
       public Object clone() {
         try {
           return super.clone();
         } catch ( CloneNotSupportedException e ) {
           // Cannot happen: extends from Object and implements Cloneable (see also Object.clone)
           throw new RuntimeException( e );
         }
       }
       
      Specified by:
      clone in interface ILcdCloneable
      Overrides:
      clone in class Object
      See Also:
    • equals

      public boolean equals(Object aObject)
      Deprecated.
      Overrides:
      equals in class Object