Package com.geouniq.android
Class GeoUniq.GeoPoint
java.lang.Object
com.geouniq.android.GeoUniq.GeoPoint
- Enclosing class:
- GeoUniq
Models a point on the Earth
-
Constructor Summary
ConstructorsConstructorDescriptionGeoPoint(double latitude, double longitude) Constructor set the provided latitude and longitude to thisGeoPoint -
Method Summary
-
Constructor Details
-
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:
IllegalArgumentException- iflatitudeis not in the interval[-90, 90]orlongitudeis not in the interval[-180, 180]or
-
-
Method Details