com.vividsolutions.jts.geom
Class LinearRing
- Cloneable, Comparable, Serializable
Models an OGC SFS LinearRing
.
A LinearRing is a LineString which is both closed and simple.
In other words,
the first and last coordinate in the ring must be equal,
and the interior of the ring must not self-intersect.
Either orientation of the ring is allowed.
apply , apply , apply , clone , compareToSameClass , compareToSameClass , computeEnvelopeInternal , equalsExact , getBoundary , getBoundaryDimension , getCoordinate , getCoordinateN , getCoordinateSequence , getCoordinates , getDimension , getEndPoint , getGeometryType , getLength , getNumPoints , getPointN , getStartPoint , isClosed , isCoordinate , isEmpty , isEquivalentClass , isRing , isSimple , normalize , reverse |
apply , apply , apply , buffer , buffer , buffer , checkNotGeometryCollection , clone , compare , compareTo , compareTo , compareToSameClass , compareToSameClass , computeEnvelopeInternal , contains , convexHull , coveredBy , covers , 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)
points
- a sequence points forming a closed and simple linestring, or
null
to create the empty geometry.
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 LinearRing
SRID
- the ID of the Spatial Reference System used by this
LinearRing
isSimple
public boolean isSimple()
Returns true
, since by definition LinearRings are always simple.
- isSimple in interface LineString