Package org.bremersee.geojson.model
Class LineString
- java.lang.Object
-
- org.bremersee.geojson.model.Geometry
-
- org.bremersee.geojson.model.LineString
-
- All Implemented Interfaces:
Serializable
@Validated public class LineString extends Geometry implements Serializable
GeoJSON LineString.- 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 LineString()
Instantiates a new line string.LineString(BoundingBox bbox, List<Position> coordinates)
Instantiates a new line string.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Position>
getCoordinates()
Get coordinates.void
setCoordinates(List<Position> coordinates)
Sets coordinates.
-
-
-
Constructor Detail
-
LineString
public LineString()
Instantiates a new line string.
-
LineString
public LineString(BoundingBox bbox, List<Position> coordinates)
Instantiates a new line string.- Parameters:
bbox
- the bboxcoordinates
- the coordinates
-
-