public interface MultiPolygon extends GeometryCollection, Polygonal
Polygons.
As per the OGC SFS specification, the Polygons in a MultiPolygon may not overlap, and may only touch at single points. This allows the topological point-set semantics to be well-defined.
| Modifier and Type | Method and Description |
|---|---|
Polygon |
getPolygon(int partIndex) |
<V extends Polygon> |
getPolygons() |
MultiPolygon |
normalize()
Converts this
Geometry to normal form (or
canonical form ). |
MultiPolygon |
reverse()
Creates a
MultiPolygon with
every component reversed. |
cloneappendVertex, buffer, buffer, buffer, compareTo, compareToSameClass, contains, containsProperly, convert, convert, convexHull, copy, coveredBy, covers, crosses, deleteVertex, difference, disjoint, distance, equal, equals, equals, equals, equalsExact, equalsExact, equalsNorm, equalsTopo, geometries, getArea, getAxisCount, getBoundary, getBoundaryDimension, getBoundingBox, getCentroid, getClassSortIndex, getCoordinateSystem, getDimension, getEnvelope, getGeometries, getGeometries, getGeometry, getGeometryComponents, getGeometryCount, getGeometryFactory, getGeometryType, getInteriorPoint, getLength, getPoint, getPointWithin, getSegment, getSrid, getToVertex, getUserData, getVertex, getVertexCount, hashCode, hasInvalidXyCoordinates, insertVertex, intersection, intersects, intersects, isEmpty, isRectangle, isSimple, isValid, isWithinDistance, move, moveVertex, overlaps, prepare, relate, relate, segments, setUserData, symDifference, toClockwise, toCounterClockwise, touches, toWkt, union, union, vertices, withingetDataTypegetBoundingBoxPolygon getPolygon(int partIndex)
MultiPolygon normalize()
GeometryGeometry to normal form (or
canonical form ). Normal form is a unique representation for Geometry
s. It can be used to test whether two Geometrys are equal
in a way that is independent of the ordering of the coordinates within
them. Normal form equality is a stronger condition than topological
equality, but weaker than pointwise equality. The definitions for normal
form use the standard lexicographical ordering for coordinates. "Sorted in
order of coordinates" means the obvious extension of this ordering to
sequences of coordinates.normalize in interface Geometrynormalize in interface GeometryCollectionGeometry.normalize()MultiPolygon reverse()
MultiPolygon with
every component reversed.
The order of the components in the collection are not reversed.Copyright © 2015 Revolution Systems Inc.. All rights reserved.