public class GeoPoint extends Object implements IGeoPoint
About Datums
At this time, this interface makes no provision for specifying datum. It is assumed that all coordinates are given in a consistent datum and that the management of datums is left to the application.
Constructor and Description |
---|
GeoPoint(double latitude,
double longitude)
Standard constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getLatitude()
Gets the latitude stored in the GeoPoint.
|
double |
getLongitude()
Gets the longitude stored in the GeoPoint.
|
public GeoPoint(double latitude, double longitude)
latitude
- a coordinate in degreeslongitude
- a coordinate in degreespublic double getLatitude()
IGeoPoint
getLatitude
in interface IGeoPoint
public double getLongitude()
IGeoPoint
getLongitude
in interface IGeoPoint
Copyright © 2022. All rights reserved.