public class LineString extends Geometry
| Constructor and Description |
|---|
LineString()
Constructor
|
LineString(LineString lineString)
Constructor
|
LineString(List<Position> positions)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<Position> |
getCoordinates()
Get the coordinates
|
Geometry |
getGeometry()
Get the simple geometry
|
String |
getType()
Get the GeoJSON object type
|
void |
setCoordinates(List<Position> positions)
Set the coordinates
|
getBbox, getForeignMember, getForeignMembers, hasForeignMember, hasForeignMembers, setBbox, setForeignMemberpublic LineString()
public LineString(List<Position> positions)
positions - list of positionspublic LineString(LineString lineString)
lineString - simple line stringpublic Geometry getGeometry()
getGeometry in class Geometrypublic List<Position> getCoordinates()
public void setCoordinates(List<Position> positions)
positions - list of positionspublic String getType()
getType in class GeoJsonObjectCopyright © 2020 National Geospatial-Intelligence Agency. All rights reserved.