Class TransverseMercatorCoordinateInfo

java.lang.Object
hec.map.transform.CoordinateInfo
hec.map.transform.TransverseMercatorCoordinateInfo
All Implemented Interfaces:
AsciiSerializable, FieldAccessor, CoordinateTransformConstants, Serializable

public class TransverseMercatorCoordinateInfo extends CoordinateInfo implements Serializable, AsciiSerializable
See Also:
  • Field Details

    • _sMajorAxis

      protected double _sMajorAxis
    • _sMinorAxis

      protected double _sMinorAxis
    • _factor

      protected double _factor
    • _longCentMer

      protected double _longCentMer
    • _originLat

      protected double _originLat
    • _fe

      protected double _fe
    • _fn

      protected double _fn
  • Constructor Details

    • TransverseMercatorCoordinateInfo

      public TransverseMercatorCoordinateInfo()
    • TransverseMercatorCoordinateInfo

      public TransverseMercatorCoordinateInfo(String units, String spheroid)
    • TransverseMercatorCoordinateInfo

      public TransverseMercatorCoordinateInfo(String units, String spheroid, double sMajorAxis, double sMinorAxis, double factor, double longCentMer, double originLat, double fe, double fn)
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in class CoordinateInfo
    • setMajorAxis

      public void setMajorAxis(double sMajorAxis)
    • setMinorAxis

      public void setMinorAxis(double sMinorAxis)
    • setFactor

      public void setFactor(double factor)
    • setLongCentMer

      public void setLongCentMer(double longCentMer)
    • setOriginLat

      public void setOriginLat(double originLat)
    • setFalseNorthing

      public void setFalseNorthing(double fn)
    • setFalseEasting

      public void setFalseEasting(double fe)
    • getMajorAxis

      public double getMajorAxis()
    • getMinorAxis

      public double getMinorAxis()
    • getFactor

      public double getFactor()
    • getLongCentMer

      public double getLongCentMer()
    • getOriginLat

      public double getOriginLat()
    • getFalseNorthing

      public double getFalseNorthing()
    • getFalseEasting

      public double getFalseEasting()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class CoordinateInfo
    • writeObject2

      protected void writeObject2(BufferedWriter writer) throws IOException
      Specified by:
      writeObject2 in class CoordinateInfo
      Throws:
      IOException
    • readObject2

      protected void readObject2(BufferedReader reader) throws IOException
      Specified by:
      readObject2 in class CoordinateInfo
      Throws:
      IOException
    • saveData

      public boolean saveData(org.jdom.Element cinfoElem)
      Description copied from class: CoordinateInfo
      XML format save
      Overrides:
      saveData in class CoordinateInfo
      Returns:
    • loadData

      public boolean loadData(org.jdom.Element cinfoElem)
      Overrides:
      loadData in class CoordinateInfo
    • getFieldObject

      public Object getFieldObject(Field fld)
      Description copied from interface: FieldAccessor
      This method allows access to java.lang.reflect.Field objects within the implementing class.
      Specified by:
      getFieldObject in interface FieldAccessor
      Overrides:
      getFieldObject in class CoordinateInfo
      Parameters:
      fld - The field to get.
      Returns:
      The data object that is stored in the given field
    • setFieldObject

      public boolean setFieldObject(Field fld, Object fobj)
      Description copied from interface: FieldAccessor
      This allows access to fields withing the implementing object to set there data.
      Specified by:
      setFieldObject in interface FieldAccessor
      Overrides:
      setFieldObject in class CoordinateInfo
      Parameters:
      fld - The java field object representing the member field to be set
      fobj - The data to set in that field
      Returns:
      returns true if successful