Package com.walkfares.odsl.var.geo
Class GeoLineString
java.lang.Object
com.walkfares.odsl.var.geo.CoordinateSequence
com.walkfares.odsl.var.geo.GeoLineString
- All Implemented Interfaces:
Geometry
public class GeoLineString extends CoordinateSequence implements Geometry
-
Constructor Summary
Constructors Constructor Description GeoLineString()
-
Method Summary
Modifier and Type Method Description void
addGeometry(Geometry geometry, OpenDSLContext context)
Geometry
fromJson(com.google.gson.JsonElement e)
String
getName()
GeometryType
getType()
GeoLineString
setCoordinates(List<Coordinate> coordinates)
com.google.gson.JsonElement
toJson()
Methods inherited from class com.walkfares.odsl.var.geo.CoordinateSequence
getArea, getCoordinateList, getCoordinates
-
Constructor Details
-
GeoLineString
public GeoLineString()
-
-
Method Details
-
getType
-
setCoordinates
-
toJson
public com.google.gson.JsonElement toJson() -
fromJson
-
addGeometry
- Specified by:
addGeometry
in interfaceGeometry
-
getName
-