Class LineStringImpl

All Implemented Interfaces:
Serializable, AbstractCurve, AbstractGeometry, AbstractGML, LineString

public class LineStringImpl extends AbstractCurveImpl implements LineString
POJO class for XML type LineStringType(@http://www.opengis.net/gml/3.2). This is a complex type.
See Also:
  • Field Details

    • posList

      protected double[] posList
  • Constructor Details

    • LineStringImpl

      public LineStringImpl(int numDims)
  • Method Details

    • getPosList

      public double[] getPosList()
      Description copied from interface: LineString
      Gets the posList property
      Specified by:
      getPosList in interface LineString
      Returns:
      double array contanining all coordinates
    • setPosList

      public void setPosList(double[] posList)
      Description copied from interface: LineString
      Sets the posList property
      Specified by:
      setPosList in interface LineString
      Parameters:
      posList - double array containing all coordinates
    • isSetPosList

      public boolean isSetPosList()
      Description copied from interface: LineString
      Checks if posList property is set
      Specified by:
      isSetPosList in interface LineString
      Returns:
      true is set
    • getGeomEnvelope

      public Envelope getGeomEnvelope()
      Specified by:
      getGeomEnvelope in interface AbstractGeometry
      Overrides:
      getGeomEnvelope in class AbstractGeometryImpl
      Returns:
      the geometry bounding (hyper)rectangle
    • toString

      public String toString()
      Overrides:
      toString in class Object