Class LinearRingJTS

java.lang.Object
org.locationtech.jts.geom.Geometry
org.locationtech.jts.geom.LineString
org.locationtech.jts.geom.LinearRing
net.opengis.gml.v32.impl.LinearRingJTS
All Implemented Interfaces:
Serializable, Cloneable, Comparable, AbstractRing, LinearRing, org.locationtech.jts.geom.Lineal

public class LinearRingJTS extends org.locationtech.jts.geom.LinearRing implements LinearRing

Implementation of GML LinearRing derived from JTS LinearRing class.

Since:
Dec 23, 2014
See Also:
  • Field Summary

    Fields inherited from class org.locationtech.jts.geom.LinearRing

    MINIMUM_VALID_SIZE

    Fields inherited from class org.locationtech.jts.geom.LineString

    points

    Fields inherited from class org.locationtech.jts.geom.Geometry

    envelope, factory, SRID, TYPECODE_GEOMETRYCOLLECTION, TYPECODE_LINEARRING, TYPECODE_LINESTRING, TYPECODE_MULTILINESTRING, TYPECODE_MULTIPOINT, TYPECODE_MULTIPOLYGON, TYPECODE_POINT, TYPECODE_POLYGON, TYPENAME_GEOMETRYCOLLECTION, TYPENAME_LINEARRING, TYPENAME_LINESTRING, TYPENAME_MULTILINESTRING, TYPENAME_MULTIPOINT, TYPENAME_MULTIPOLYGON, TYPENAME_POINT, TYPENAME_POLYGON
  • Constructor Summary

    Constructors
    Constructor
    Description
    LinearRingJTS(org.locationtech.jts.geom.GeometryFactory jtsFactory, int numDims)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double[]
    Gets the posList property
    boolean
    Checks if posList property is set
    void
    setPosList(double[] posList)
    Sets the posList property

    Methods inherited from class org.locationtech.jts.geom.LinearRing

    copyInternal, getBoundaryDimension, getGeometryType, getTypeCode, isClosed, reverse, reverseInternal

    Methods inherited from class org.locationtech.jts.geom.LineString

    apply, apply, apply, apply, clone, compareToSameClass, compareToSameClass, computeEnvelopeInternal, equalsExact, getBoundary, getCoordinate, getCoordinateN, getCoordinates, getCoordinateSequence, getDimension, getEndPoint, getLength, getNumPoints, getPointN, getStartPoint, isCoordinate, isEmpty, isEquivalentClass, isRing, normalize

    Methods inherited from class org.locationtech.jts.geom.Geometry

    buffer, buffer, buffer, compare, compareTo, compareTo, contains, convexHull, copy, coveredBy, covers, crosses, difference, disjoint, distance, equal, equals, equals, equalsExact, equalsNorm, equalsTopo, geometryChanged, geometryChangedAction, getArea, getCentroid, getEnvelope, getEnvelopeInternal, getFactory, getGeometryN, getInteriorPoint, getNumGeometries, getPrecisionModel, getSRID, getUserData, hashCode, hasNonEmptyElements, hasNullElements, intersection, intersects, isGeometryCollection, isRectangle, isSimple, isValid, isWithinDistance, norm, overlaps, relate, relate, setSRID, setUserData, symDifference, toString, toText, touches, union, union, within

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • LinearRingJTS

      public LinearRingJTS(org.locationtech.jts.geom.GeometryFactory jtsFactory, int numDims)
  • Method Details

    • getPosList

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

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

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