public class Ring2D extends BaseLine2D implements Ring
AbstractLine.LineIterator, AbstractLine.VertexIteratorGeometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatuscoordinatesBEST, 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, toPointsaddMoveToVertex, addVertex, cloneCoordinates, closePrimitive, ensureCapacity, flip, getCoordinateAt, getDimension, getGeneralPath, getNumVertices, getPathIterator, getPathIterator, getShape, getShape, insertVertex, is3D, isClosed, iterator, removeVertex, setCoordinateAt, setGeneralPath, setPoints, setVertex, transformgetHandlersarea, 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, withinclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddMoveToVertex, addVertex, addVertex, addVertex, closePrimitive, ensureCapacity, getCoordinateAt, getNumVertices, getVertex, insertVertex, removeVertex, setCoordinateAt, setGeneralPath, setVertexarea, buffer, 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, withincontains, contains, contains, contains, getBounds, intersectscompareTopublic Ring2D()
subtype - public Ring2D(Coordinate[] coordinates)
public Geometry cloneGeometry()
GeometrycloneGeometry in interface Geometrypublic MultiLine toLines() throws GeometryException
GeometrytoLines in interface GeometrytoLines in class BaseLine2DGeometryExceptionpublic MultiPolygon toPolygons() throws GeometryException
GeometrytoPolygons in interface GeometrytoPolygons in class BaseLine2DGeometryExceptionpublic com.vividsolutions.jts.geom.Geometry getJTS()
getJTS in interface GeometryJTSgetJTS in class AbstractLinepublic Geometry offset(double distance) throws GeometryOperationNotSupportedException, GeometryOperationException
offset in interface GeometryGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic void reProject(ICoordTrans ct)
GeometryreProject in interface GeometryreProject in class AbstractLinect - Coordinate Transformer.