Package org.bremersee.geojson.model
Class MultiPolygon
- java.lang.Object
-
- org.bremersee.geojson.model.Geometry
-
- org.bremersee.geojson.model.MultiPolygon
-
- All Implemented Interfaces:
Serializable
@Validated public class MultiPolygon extends Geometry implements Serializable
GeoJSON MultiPolygon.- Author:
- Christian Bremer
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bremersee.geojson.model.Geometry
Geometry.TypeEnum
-
-
Constructor Summary
Constructors Constructor Description MultiPolygon()
Instantiates a new multi polygon.MultiPolygon(BoundingBox bbox, List<List<List<Position>>> coordinates)
Instantiates a new multi polygon.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<List<List<Position>>>
getCoordinates()
Get coordinates.void
setCoordinates(List<List<List<Position>>> coordinates)
Sets coordinates.
-
-
-
Constructor Detail
-
MultiPolygon
public MultiPolygon()
Instantiates a new multi polygon.
-
MultiPolygon
public MultiPolygon(BoundingBox bbox, List<List<List<Position>>> coordinates)
Instantiates a new multi polygon.- Parameters:
bbox
- the bboxcoordinates
- the coordinates
-
-