Interface ILcdGML3LinearRing

All Superinterfaces:
ILcdGML3AbstractGeometry, ILcdGML3AbstractGML, ILcdGML3AbstractRing, ILcdGML3SrsInformationGroup, ILcdGML3SrsReferenceGroup, ILcdGML3StandardObjectProperties

public interface ILcdGML3LinearRing extends ILcdGML3AbstractRing
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:LinearRingType type.

A LinearRing is defined by four or more coordinate tuples, with linear interpolation between them; the first and last coordinates must be coincident.

GML supports two different ways to specify the control points of a linear ring.

  • 1. A sequence of "pos" (DirectPositionType) or "pointProperty" (PointPropertyType) elements. "pos" elements are control points that are only part of this ring, "pointProperty" elements contain a point that may be referenced from other geometry elements or reference another point defined outside of this ring (reuse of existing points).
  • 2. The "posList" element allows for a compact way to specify the coordinates of the control points, if all control points are in the same coordinate reference systems and belong to this ring only. The number of direct positions in the list must be at least four.

(GML Specification, v3.1.0, paragraph 9.2.2.8)

  • Method Details

    • getPos

      ILcdGML3DirectPosition getPos(int aIndex)
      Deprecated.
      Returns the direct position at the given index.
      Parameters:
      aIndex - the index of the direct position to be returned.
      Returns:
      the direct position at the given index.
      Throws:
      IndexOutOfBoundsException - if aIndex < 0 || aIndex >= getPosCount()
    • getPosCount

      int getPosCount()
      Deprecated.
      Returns the number of positions contained in this linear ring.
      Returns:
      the number of positions contained in this linear ring.
    • getPointProperty

      ILcdGML3PointProperty getPointProperty(int aIndex)
      Deprecated.
      Returns the point property at the given index.
      Parameters:
      aIndex - the index of the point property to be returned.
      Returns:
      the point property at the given index.
      Throws:
      IndexOutOfBoundsException - if aIndex < 0 || aIndex >= getPointPropertyCount()
    • getPointPropertyCount

      int getPointPropertyCount()
      Deprecated.
      Returns the number of point properties contained in this linear ring.
      Returns:
      the number of point properties contained in this linear ring.
    • getPosList

      Deprecated.
      Returns the direct position list contained in this linear ring.
      Returns:
      the direct position list contained in this linear ring.
    • setPos

      void setPos(ILcdGML3DirectPosition[] aPos)
      Deprecated.
      Sets the array of positions that define this linear ring.
      Parameters:
      aPos - the array of positions that define this linear ring.
    • setPointProperties

      void setPointProperties(ILcdGML3PointProperty[] aPointProperties)
      Deprecated.
      Sets the array of point properties that define this linear ring.
      Parameters:
      aPointProperties - the array of point properties that define this linear ring.
    • setPosList

      void setPosList(ILcdGML3DirectPositionList aPosList)
      Deprecated.
      Sets the direct position list that defines this linear ring.
      Parameters:
      aPosList - the direct position list that defines this linear ring.