public interface Point extends Extension
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getLatitude() |
java.lang.Double |
getLongitude() |
void |
setGeoLocation(java.lang.Double lat,
java.lang.Double lon)
Sets the latitude and longitude coordinates of this Point.
|
generate, getHandler
java.lang.Double getLatitude()
java.lang.Double getLongitude()
void setGeoLocation(java.lang.Double lat, java.lang.Double lon)
lat
- The latitude in degrees, from -90 to 90.lon
- The longitude in degrees, from -180 to 180.java.lang.IllegalArgumentException
- if either lat or lon values are invalid,
or if one of them is null and the other non-null.