Package com.targomo.client.api.geo
Interface Coordinate
- All Superinterfaces:
Location
- All Known Implementing Classes:
AbstractCoordinate,DefaultSourceCoordinate,DefaultTargetCoordinate,PoiTargetCoordinate
- Author:
- gerb
-
Method Summary
Methods inherited from interface com.targomo.client.api.geo.Location
getId, getProperties, getTravelTypes, setId, setProperties, setTravelType, setTravelTypes
-
Method Details
-
getX
double getX()Get the value of coordinate in X-axis.- Returns:
- Value in x-axis
-
setX
void setX(double x) Set the value of coordinate in X-axis.- Parameters:
x- X value to be set
-
getY
double getY()Get the value of coordinate in Y-axis.- Returns:
- Value in y-axis
-
setY
void setY(double y) Set the value of coordinate in Y-axis.- Parameters:
y- Y value to be set
-