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