public class Ring3DM extends BaseLine3DM implements Ring, GeometryJTS2
AbstractLine.LineIterator, AbstractLine.VertexIterator
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus
coordinates, LOGGER
BEST, 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 |
---|
Ring3DM() |
Ring3DM(ArrayListCoordinateSequence coordinates) |
Ring3DM(Coordinate[] coordinates) |
Modifier and Type | Method and Description |
---|---|
Geometry |
cloneGeometry()
Creates a clone of this geometry.
|
boolean |
equals(java.lang.Object obj) |
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, toPoints
addMoveToVertex, 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, transform
getHandlers
area, 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, 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, within
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addMoveToVertex, addVertex, addVertex, addVertex, closePrimitive, ensureCapacity, getCoordinateAt, getNumVertices, getVertex, insertVertex, removeVertex, setCoordinateAt, setGeneralPath, setVertex
area, 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, 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, within
contains, contains, contains, contains, getBounds, intersects
isEmpty, isEmpty, isEmpty, isEmptyQuietly
forceClose, isClosed, isClosed
public Ring3DM()
public Ring3DM(Coordinate[] coordinates)
coordinates
- public Ring3DM(ArrayListCoordinateSequence coordinates)
public Geometry cloneGeometry()
Geometry
cloneGeometry
in interface Geometry
public MultiLine toLines() throws GeometryException
Geometry
toLines
in interface Geometry
toLines
in class BaseLine3DM
GeometryException
public MultiPolygon toPolygons() throws GeometryException
Geometry
toPolygons
in interface Geometry
toPolygons
in class BaseLine3DM
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 Geometry offset(int joinStyle, 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.public boolean equals(java.lang.Object obj)
equals
in interface Geometry
equals
in class AbstractGeometry
public Geometry force2D() throws GeometryOperationNotSupportedException, GeometryOperationException
force2D
in interface Geometry
force2D
in interface Ring
force2D
in class AbstractLine
GeometryOperationNotSupportedException
GeometryOperationException
public Geometry force2DM() throws GeometryOperationNotSupportedException, GeometryOperationException
force2DM
in interface Ring
force2DM
in class AbstractLine
GeometryOperationNotSupportedException
GeometryOperationException
public Geometry force3D() throws GeometryOperationNotSupportedException, GeometryOperationException
force3D
in interface Ring
force3D
in class AbstractLine
GeometryOperationNotSupportedException
GeometryOperationException
public Geometry force3DM() throws GeometryOperationNotSupportedException, GeometryOperationException
force3DM
in interface Ring
force3DM
in class AbstractLine
GeometryOperationNotSupportedException
GeometryOperationException
public org.locationtech.jts.geom.Geometry getJTS2()
getJTS2
in interface GeometryJTS2