@groovy.transform.CompileStatic @groovy.transform.EqualsAndHashCode class MultiPolygon extends Shape implements GeoJSON
Represents a GeoJSON MultiPolygon. See http://geojson.org/geojson-spec.html#multipolygon Note: Requires MongoDB 2.6 or above
Constructor and description |
---|
MultiPolygon(Polygon[] polygons) |
MultiPolygon(java.util.List<Polygon> polygons) |
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.List<java.util.List<java.util.List<java.util.List<java.lang.Double>>>> |
asList() |
|
static MultiPolygon |
valueOf(java.util.List coords) |
Groovy Documentation