public class Ring2D extends BaseLine2D implements Ring, GeometryJTS2
AbstractLine.LineIterator, AbstractLine.VertexIteratorGeometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatuscoordinates, LOGGERBEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, JOIN_STYLE_BEVEL, JOIN_STYLE_MITRE, JOIN_STYLE_ROUND, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W| Constructor and Description |
|---|
Ring2D() |
Ring2D(ArrayListCoordinateSequence coordinates) |
Ring2D(Coordinate[] coordinates) |
| Modifier and Type | Method and Description |
|---|---|
Geometry |
cloneGeometry()
Creates a clone of this geometry.
|
Geometry |
force2D() |
Geometry |
force2DM() |
Geometry |
force3D() |
Geometry |
force3DM() |
com.vividsolutions.jts.geom.Geometry |
getJTS() |
org.locationtech.jts.geom.Geometry |
getJTS2() |
Geometry |
offset(double distance) |
Geometry |
offset(int joinStyle,
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, canBeReprojected, canBeTransformed, cloneCoordinates, closePrimitive, ensureCapacity, extractPoint, flip, forceClose, get, getCoordinateAt, getDimension, getGeneralPath, getNumVertices, getPathIterator, getPathIterator, getPathLength, getShape, getShape, insertVertex, is3D, isClosed, isClosed, isEmpty, iterator, removeVertex, setCoordinateAt, setGeneralPath, setPoints, setVertex, size, transformgetHandlersarea, boundary, buffer, buffer, centroid, clone, closestPoints, compareTo, contains, contains, contains, contains, contains, convertTo, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToGeoJson, convertToGeoJson, convertToHexEWKB, convertToHexEWKBQuietly, convertToHexWKB, convertToHexWKBQuietly, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKBQuietly, convertToWKT, convertToWKTQuietly, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, equals, fastIntersects, fix, forceSubtype, getBounds, getBounds2D, getEnvelope, getGeometryType, getInteriorPoint, getInternalShape, getManager, getProjection, getType, getValidationStatus, intersection, intersects, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, notifyDeprecated, out, overlaps, perimeter, rotate, scale, setGeometryType, setProjection, setProjection, setProjectionIffNull, snapTo, toString, touches, union, withinfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddMoveToVertex, addVertex, addVertex, addVertex, closePrimitive, ensureCapacity, getCoordinateAt, getNumVertices, getVertex, insertVertex, removeVertex, setCoordinateAt, setGeneralPath, setVertexarea, boundary, buffer, buffer, canBeReprojected, canBeTransformed, centroid, clone, closestPoints, contains, convertTo, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToGeoJson, convertToHexEWKB, convertToHexEWKBQuietly, convertToHexWKB, convertToHexWKBQuietly, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKBQuietly, convertToWKT, convertToWKTQuietly, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, equals, fastIntersects, fix, flip, forceSubtype, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getPathIterator, getProjection, getShape, getShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isEmpty, isSimple, isValid, isWithinDistance, makeValid, move, out, overlaps, perimeter, rotate, scale, setProjection, setProjection, setProjectionIffNull, snapTo, toPoints, touches, transform, union, withincontains, contains, contains, contains, getBounds, intersectsisEmpty, isEmpty, isEmpty, isEmptyQuietlyforceClose, isClosed, isClosedpublic Ring2D()
subtype - public Ring2D(Coordinate[] coordinates)
public Ring2D(ArrayListCoordinateSequence 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 Geometry offset(int joinStyle, double distance) throws GeometryOperationNotSupportedException, GeometryOperationException
offset in interface GeometryGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic void reProject(ICoordTrans ct)
GeometryreProject in interface GeometryreProject in class AbstractLinect - Coordinate Transformer.public Geometry force2D() throws GeometryOperationNotSupportedException, GeometryOperationException
force2D in interface Geometryforce2D in interface Ringforce2D in class AbstractLineGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic Geometry force2DM() throws GeometryOperationNotSupportedException, GeometryOperationException
force2DM in interface Ringforce2DM in class AbstractLineGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic Geometry force3D() throws GeometryOperationNotSupportedException, GeometryOperationException
force3D in interface Ringforce3D in class AbstractLineGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic Geometry force3DM() throws GeometryOperationNotSupportedException, GeometryOperationException
force3DM in interface Ringforce3DM in class AbstractLineGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic org.locationtech.jts.geom.Geometry getJTS2()
getJTS2 in interface GeometryJTS2