Interface ILcdGML3DirectPosition

All Superinterfaces:
ILcdGML3SrsInformationGroup, ILcdGML3SrsReferenceGroup

public interface ILcdGML3DirectPosition extends ILcdGML3SrsReferenceGroup
Deprecated.
This class has been deprecated. The GML decoders and encoders in the com.luciad.format.gml3.* packages are replaced by new decoders and encoders in the packages com.luciad.format.gml2.xml, com.luciad.format.gml31.xml and com.luciad.format.gml32.xml.
Interface for the gml:DirectPositionType type.

DirectPosition instances hold the coordinates for a position within some coordinate reference system (CRS). Since DirectPositions, as data types, will often be included in larger objects (such as geometry elements) that have references to CRS, the "srsName" attribute will in general be missing, if this particular DirectPosition is included in a larger element with such a reference to a CRS. In this case, the CRS is implicitly assumed to take on the value of the containing object's CRS.

(GML Specification, v3.1.0, paragraph 9.1.3.1)

  • Method Details

    • getCoordinate

      double getCoordinate(int aIndex)
      Deprecated.
      Returns the coordinate at the given index.
      Parameters:
      aIndex - the index of the coordinate to be returned.
      Returns:
      the coordinate at the given index.
      Throws:
      IndexOutOfBoundsException - if aIndex < 0 || aIndex >= getCoordinateCount()
    • getCoordinateCount

      int getCoordinateCount()
      Deprecated.
      Returns the number of coordinates contained in this direct position.
      Returns:
      the number of coordinates contained in this direct position.
    • setCoordinates

      void setCoordinates(double[] aDoubles)
      Deprecated.
      Sets the array of coordinates that define this position.
      Parameters:
      aDoubles - the array of coordinates that define this position.