Spatial DataBlade
JAVA API v8.21

com.ibm.spatial.geom
Interface MultiPolygon

All Superinterfaces:
Geometry, GeometryCollection, MultiSurface
All Known Implementing Classes:
IfxMultiPolygon

public interface MultiPolygon
extends MultiSurface

A MultiPolygon is a MultiSurface whose elements are Polygons.

The assertions for MultiPolygons are:

  1. The interiors of 2 Polygons that are elements of a MultiPolygon may not intersect.
  2. The boundaries of any 2 Polygons that are elements of a MultiPolygon may not cross and may touch at only a finite number of points. (Note that crossing is prevented by the assertion above).
  3. A MultiPolygon is defined as topologically closed.
  4. A MultiPolygon may not have cut lines, spikes or punctures, a MultiPolygon is a regular, closed point set.
  5. The interior of a MultiPolygon with more than 1 Polygon is not connected, the number of connected components of the interior of a MultiPolygon is equal to the number of Polygons in the MultiPolygon.

The boundary of a MultiPolygon is a set of closed curves (LineStrings) corresponding to the boundaries of its element Polygons. Each Curve in the boundary of the MultiPolygon is in the boundary of exactly 1 element Polygon, and every Curve in the boundary of an element Polygon is in the boundary of the MultiPolygon.

Note that the subclass of surface named Polyhedral Surface is a faceted surface whose facets are Polygons. A Polyhedral Surface is not a MultiPolygon because it violates the rule for MultiPolygons that the boundaries of the element Polygons intersect only at a finite number of points.

See Also:
GeometryCollection, LineString

Method Summary
 
Methods inherited from interface com.ibm.spatial.geom.MultiSurface
area, centroid, perimeter, pointOnSurface
 
Methods inherited from interface com.ibm.spatial.geom.GeometryCollection
geometryN, numGeometries
 
Methods inherited from interface com.ibm.spatial.geom.Geometry
asBinary, asText, boundary, buffer, contains, convexHull, crosses, difference, dimension, disjoint, distance, envelope, envelopesIntersect, equals, extent, exterior, interior, intersection, intersects, is3D, isEmpty, isMeasured, isSimple, isValid, locateAlong, locateBetween, numPoints, overlaps, srid, symmetricDiff, touches, union, within
 


Spatial DataBlade
JAVA API v8.21


Licensed Materials - Property of IBM
Copyright IBM Corp. 2002, 2012 All Rights Reserved.