public class Ring2D extends BaseLine2D implements Ring
AbstractLine.LineIterator, AbstractLine.VertexIterator
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus
coordinates
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W
Constructor and Description |
---|
Ring2D() |
Ring2D(Coordinate[] coordinates) |
Modifier and Type | Method and Description |
---|---|
Geometry |
cloneGeometry()
Creates a clone of this geometry.
|
com.vividsolutions.jts.geom.Geometry |
getJTS() |
Geometry |
offset(double distance) |
void |
reProject(ICoordTrans ct)
Reprojects this geometry by the coordinate transformer passed as
parameter.
|
MultiLine |
toLines()
Converts the geometry to be lines and makes with them a multiLine
|
MultiPolygon |
toPolygons()
Converts the geometry to be polygons and makes with them a multiPolygon
|
addVertex, addVertex, fixPoint, getVertex, toPoints
addMoveToVertex, addVertex, canBeReprojected, canBeTransformed, cloneCoordinates, closePrimitive, ensureCapacity, flip, forceClose, getCoordinateAt, getDimension, getGeneralPath, getNumVertices, getPathIterator, getPathIterator, getShape, getShape, insertVertex, is3D, isClosed, isClosed, isEmpty, iterator, removeVertex, setCoordinateAt, setGeneralPath, setPoints, setVertex, transform
getHandlers
area, buffer, centroid, closestPoints, compareTo, contains, contains, contains, contains, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, equals, fastIntersects, getBounds, getBounds2D, getEnvelope, getGeometryType, getInteriorPoint, getInternalShape, getManager, getType, getValidationStatus, intersection, intersects, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, notifyDeprecated, out, overlaps, perimeter, rotate, scale, snapTo, toString, touches, union, within
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addMoveToVertex, addVertex, addVertex, addVertex, closePrimitive, ensureCapacity, getCoordinateAt, getNumVertices, getVertex, insertVertex, removeVertex, setCoordinateAt, setGeneralPath, setVertex
area, buffer, canBeReprojected, canBeTransformed, centroid, closestPoints, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, flip, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getPathIterator, getShape, getShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, out, overlaps, perimeter, rotate, scale, snapTo, toPoints, touches, transform, union, within
contains, contains, contains, contains, getBounds, intersects
compareTo
forceClose, isClosed, isClosed
forEach, iterator, spliterator
public Ring2D()
subtype
- public Ring2D(Coordinate[] coordinates)
public Geometry cloneGeometry()
Geometry
cloneGeometry
in interface Geometry
public MultiLine toLines() throws GeometryException
Geometry
toLines
in interface Geometry
toLines
in class BaseLine2D
GeometryException
public MultiPolygon toPolygons() throws GeometryException
Geometry
toPolygons
in interface Geometry
toPolygons
in class BaseLine2D
GeometryException
public com.vividsolutions.jts.geom.Geometry getJTS()
getJTS
in interface GeometryJTS
getJTS
in class AbstractLine
public Geometry offset(double distance) throws GeometryOperationNotSupportedException, GeometryOperationException
offset
in interface Geometry
GeometryOperationNotSupportedException
GeometryOperationException
public void reProject(ICoordTrans ct)
Geometry
reProject
in interface Geometry
reProject
in class AbstractLine
ct
- Coordinate Transformer.