Package com.geouniq.android
Class GeoUniq.GeoPoint
- java.lang.Object
-
- com.geouniq.android.GeoUniq.GeoPoint
-
- Enclosing class:
- GeoUniq
public static class GeoUniq.GeoPoint extends java.lang.ObjectModels a point on the Earth
-
-
Constructor Summary
Constructors Constructor Description GeoPoint(double latitude, double longitude)Constructor set the provided latitude and longitude to thisGeoPoint
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetLatitude()doublegetLongitude()java.lang.StringtoString()
-
-
-
Constructor Detail
-
GeoPoint
public GeoPoint(double latitude, double longitude)Constructor set the provided latitude and longitude to thisGeoPoint- Parameters:
latitude- the latitude of the geographical positionlongitude- the longitude of the geographical position- Throws:
java.lang.IllegalArgumentException- iflatitudeis not in the interval[-90, 90]orlongitudeis not in the interval[-180, 180]or
-
-