Class GeoCoordinateLocation
java.lang.Object
com.here.platform.location.referencing.GeoCoordinateLocation
- All Implemented Interfaces:
GeoCoordinateHolder,ReferencingLocation,Serializable,scala.Equals,scala.Product
public class GeoCoordinateLocation
extends Object
implements ReferencingLocation, GeoCoordinateHolder, scala.Product, Serializable
A location represented by a pair of geocoordinates.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <GC> GeoCoordinateLocationapply(GC gc, GeoCoordinateOperations<GC> evidence$1) static <GC> GeoCoordinateLocationcreate(GC gc, GeoCoordinateAdapter<GC> adapter) doubledoubledoublelatitude()doubleMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, 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:
getLatitudein interfaceGeoCoordinateHolder- Returns:
- Latitude in degrees
-
getLongitude
public double getLongitude()- Specified by:
getLongitudein interfaceGeoCoordinateHolder- Returns:
- Longitude in degrees
-