Class GeoCoordinateLocation
java.lang.Object
com.here.platform.location.referencing.GeoCoordinateLocation
- All Implemented Interfaces:
GeoCoordinateHolder
,ReferencingLocation
,Serializable
,scala.Equals
,scala.Product
,scala.Serializable
public class GeoCoordinateLocation
extends Object
implements ReferencingLocation, GeoCoordinateHolder, scala.Product, scala.Serializable
A location represented by a pair of geocoordinates.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <GC> GeoCoordinateLocation
apply
(GC gc, GeoCoordinateOperations<GC> evidence$1) static <GC> GeoCoordinateLocation
create
(GC gc, GeoCoordinateAdapter<GC> adapter) double
double
double
latitude()
double
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
-
Constructor Details
-
GeoCoordinateLocation
public GeoCoordinateLocation(double latitude, double longitude) -
GeoCoordinateLocation
-
-
Method Details
-
apply
-
create
-
geoCoordinateOperations
-
geoCoordinateAdapter
-
latitude
public double latitude() -
longitude
public double longitude() -
getLatitude
public double getLatitude()- Specified by:
getLatitude
in interfaceGeoCoordinateHolder
- Returns:
- Latitude in degrees
-
getLongitude
public double getLongitude()- Specified by:
getLongitude
in interfaceGeoCoordinateHolder
- Returns:
- Longitude in degrees
-