Package com.walkfares.odsl.var.geo
Class GeoPoint
java.lang.Object
com.walkfares.odsl.var.geo.GeoPoint
- All Implemented Interfaces:
Geometry
public class GeoPoint extends Object implements Geometry
-
Constructor Summary
Constructors Constructor Description GeoPoint()
GeoPoint(Coordinate coordinate)
-
Method Summary
Modifier and Type Method Description void
addGeometry(Geometry geometry, OpenDSLContext context)
Geometry
fromJson(com.google.gson.JsonElement e)
Coordinate
getCoordinate()
String
getName()
GeometryType
getType()
GeoPoint
setCoordinate(Coordinate coordinate)
com.google.gson.JsonElement
toJson()
String
toString()
-
Constructor Details
-
Method Details
-
getCoordinate
-
setCoordinate
-
getType
-
toJson
public com.google.gson.JsonElement toJson() -
fromJson
-
addGeometry
- Specified by:
addGeometry
in interfaceGeometry
-
getName
-
toString
-