com.vividsolutions.jts.geom
Class LinearRing
- Cloneable, Comparable, Serializable
Basic implementation of LinearRing.
The first and last point in the coordinate sequence must be equal.
Either orientation of the ring is allowed.
A valid ring must not self-intersect.
apply, apply, apply, clone, compareToSameClass, computeEnvelopeInternal, equalsExact, getBoundary, getBoundaryDimension, getCoordinate, getCoordinateN, getCoordinateSequence, getCoordinates, getDimension, getEndPoint, getGeometryType, getLength, getNumPoints, getPointN, getStartPoint, isClosed, isCoordinate, isEmpty, isEquivalentClass, isRing, isSimple, normalize |
apply, apply, apply, buffer, buffer, checkNotGeometryCollection, clone, compare, compareTo, compareToSameClass, computeEnvelopeInternal, contains, convexHull, crosses, difference, disjoint, distance, equal, equals, equalsExact, equalsExact, geometryChanged, geometryChangedAction, getArea, getBoundary, getBoundaryDimension, getCentroid, getCoordinate, getCoordinates, getDimension, getEnvelope, getEnvelopeInternal, getFactory, getGeometryN, getGeometryType, getInteriorPoint, getLength, getNumGeometries, getNumPoints, getPrecisionModel, getSRID, getUserData, hasNonEmptyElements, hasNullElements, intersection, intersects, isEmpty, isEquivalentClass, isRectangle, isSimple, isValid, isWithinDistance, normalize, overlaps, relate, relate, setSRID, setUserData, symDifference, toString, toText, touches, union, within |
LinearRing
public LinearRing(CoordinateSequence points,
GeometryFactory factory) Constructs a LinearRing with the given points.
points - points forming a closed and simple linestring, or
null or an empty array to create the empty geometry.
This array must not contain null elements.
LinearRing
public LinearRing(points[] ,
PrecisionModel precisionModel,
int SRID)Use GeometryFactory instead
Constructs a LinearRing with the given points.
precisionModel - the specification of the grid of allowable points
for this LinearRingSRID - the ID of the Spatial Reference System used by this
LinearRing