public class LinearRing extends LineString
LineString
that is both closed and simple.Modifier | Constructor and Description |
---|---|
protected |
LinearRing(LineString lineString) |
|
LinearRing(PointSequence points) |
|
LinearRing(PointSequence points,
GeometryOperations geometryOperations) |
Modifier and Type | Method and Description |
---|---|
void |
accept(GeometryVisitor visitor)
Accepts a
GeometryVisitor . |
static LinearRing |
createEmpty() |
GeometryType |
getGeometryType()
Returns the type of this
Geometry . |
getDimension, getEndPoint, getLength, getPoints, getStartPoint, isClosed, isRing
asBinary, asText, buffer, collectPointSets, contains, convexHull, crosses, difference, disjoint, distance, equals, getBoundary, getCoordinateDimension, getCrsId, getCrsId, getDimensionalFlag, getEnvelope, getGeometryOperations, getGeometryOperations, getNumPoints, getPointN, getSRID, hashCode, intersection, intersects, is3D, isEmpty, isMeasured, isSimple, locateAlong, locateBetween, overlaps, relate, symDifference, toString, touches, union, within
protected LinearRing(LineString lineString)
public LinearRing(PointSequence points, GeometryOperations geometryOperations)
public LinearRing(PointSequence points)
public static LinearRing createEmpty()
public GeometryType getGeometryType()
Geometry
Geometry
.getGeometryType
in class LineString
GeometryType
of this instance.public void accept(GeometryVisitor visitor)
Geometry
GeometryVisitor
.
If this Geometry
instance is a GeometryCollection
then it will pass the
visitor to its contained Geometries
.
accept
in class LineString
Copyright © 2015 geolatte.org. All rights reserved.