public class MultiPolygon extends MultiSurface<Polygon>
| Constructor and Description |
|---|
MultiPolygon(boolean hasZ,
boolean hasM)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPolygon(Polygon polygon)
Add a polygon
|
List<Polygon> |
getPolygons()
Get the polygons
|
int |
numPolygons()
Get the number of polygons
|
void |
setPolygons(List<Polygon> polygons)
Set the polygons
|
addGeometry, getGeometries, numGeometries, setGeometriesgetGeometryType, getWkbCode, hasM, hasZpublic MultiPolygon(boolean hasZ,
boolean hasM)
hasZ - has zhasM - has mpublic void setPolygons(List<Polygon> polygons)
polygons - polygonspublic void addPolygon(Polygon polygon)
polygon - polygonpublic int numPolygons()
Copyright © 2015 National Geospatial-Intelligence Agency. All rights reserved.