public abstract class AbstractMultiPolygon extends AbstractMultiSurface implements MultiPolygon
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractMultiPolygon.MultiPolygonIterator |
AbstractMultiSurface.MultiSurfaceIteratorGeometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatusLOGGERBEST, 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 |
|---|
AbstractMultiPolygon(int subtype) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSurface(Surface surface)
Adds a new surface to the multi surface
|
Geometry |
findGaps(double gapWidth) |
void |
flip()
Flip the coordinates of the geometry.
|
Geometry |
force2D() |
Geometry |
force2DM() |
Geometry |
force3D() |
Geometry |
force3DM() |
GeneralPathX |
getGeneralPath()
Get GeneralPathIterator, to do registered operations to it.
|
com.vividsolutions.jts.geom.Geometry |
getJTS() |
java.awt.geom.PathIterator |
getPathIterator(java.awt.geom.AffineTransform at)
If applies an affine transformation and returns the GeneralPathXIterator
with this geometry's information.
|
java.awt.geom.PathIterator |
getPathIterator(java.awt.geom.AffineTransform at,
double flatness)
If applies an affine transformation and returns the GeneralPathXIterator
with this geometry's information.
|
java.awt.Shape |
getShape() |
java.awt.Shape |
getShape(java.awt.geom.AffineTransform affineTransform) |
Geometry |
validateCoverage(Geometry[] geoms,
double gapWidth) |
getSurfaceAt, splitaddPrimitive, addPrimitives, addPrimitives, addPrimitives, clonePrimitives, fixPrimitive, getHandlers, intersection, unioncanBeReprojected, canBeTransformed, ensureCapacity, equals, get, getPrimitiveAt, getPrimitivesNumber, is3D, isEmpty, iterator, reProject, size, transformarea, 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, withinfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSurfaceAt, splitaddPrimitive, addPrimitives, addPrimitives, ensureCapacitygetPrimitiveAt, getPrimitivesNumber, intersection, unionarea, boundary, buffer, buffer, canBeReprojected, canBeTransformed, centroid, clone, cloneGeometry, 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, forceSubtype, getBounds2D, getDimension, getEnvelope, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getProjection, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isEmpty, isSimple, isValid, isWithinDistance, makeValid, move, offset, offset, out, overlaps, perimeter, reProject, rotate, scale, setProjection, setProjection, setProjectionIffNull, snapTo, toLines, toPoints, toPolygons, touches, transform, union, withincontains, contains, contains, contains, getBounds, intersectsisEmpty, isEmpty, isEmpty, isEmptyQuietlypublic com.vividsolutions.jts.geom.Geometry getJTS()
getJTS in interface GeometryJTSpublic Geometry force2D() throws GeometryOperationNotSupportedException, GeometryOperationException
force2D in interface GeometryGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic Geometry force2DM() throws GeometryOperationNotSupportedException, GeometryOperationException
force2DM in class AbstractGeometryGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic Geometry force3D() throws GeometryOperationNotSupportedException, GeometryOperationException
force3D in class AbstractGeometryGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic Geometry force3DM() throws GeometryOperationNotSupportedException, GeometryOperationException
force3DM in class AbstractGeometryGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at)
GeometrygetPathIterator in interface java.awt.ShapegetPathIterator in interface GeometrygetPathIterator in class AbstractMultiSurfaceat - The transformation to apply.public java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at,
double flatness)
GeometrygetPathIterator in interface java.awt.ShapegetPathIterator in interface GeometrygetPathIterator in class AbstractMultiSurfaceat - The affine transformation.public GeneralPathX getGeneralPath()
GeometrygetGeneralPath in interface GeometrygetGeneralPath in class AbstractMultiSurfacepublic void flip()
throws GeometryOperationNotSupportedException,
GeometryOperationException
Geometryflip in interface GeometryGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic void addSurface(Surface surface)
MultiSurfaceaddSurface in interface MultiSurfacesurface - The surface to addpublic java.awt.Shape getShape(java.awt.geom.AffineTransform affineTransform)
getShape in interface GeometrygetShape in class AbstractMultiSurfacepublic java.awt.Shape getShape()
getShape in interface GeometrygetShape in class AbstractMultiSurfacepublic Geometry validateCoverage(Geometry[] geoms, double gapWidth)
validateCoverage in interface MultiPolygonpublic Geometry findGaps(double gapWidth)
findGaps in interface MultiPolygon