public class MultiPolygon extends Geometry
| Constructor and Description |
|---|
MultiPolygon()
Constructor
|
MultiPolygon(List<List<List<Position>>> positions)
Constructor
|
MultiPolygon(MultiPolygon multiPolygon)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<List<List<Position>>> |
getCoordinates()
Returns coordinates as a GeoJSON Position list
|
Geometry |
getGeometry()
Get the simple geometry
|
String |
getType()
Get the GeoJSON object type
|
getBbox, getForeignMember, getForeignMembers, hasForeignMember, hasForeignMembers, setBbox, setForeignMemberpublic MultiPolygon()
public MultiPolygon(List<List<List<Position>>> positions)
positions - position listpublic MultiPolygon(MultiPolygon multiPolygon)
multiPolygon - simple multi polygonpublic List<List<List<Position>>> getCoordinates()
public Geometry getGeometry()
getGeometry in class Geometrypublic String getType()
getType in class GeoJsonObjectCopyright © 2020 National Geospatial-Intelligence Agency. All rights reserved.