Package com.uber.h3core.util
Class LatLng
java.lang.Object
com.uber.h3core.util.LatLng
public class LatLng extends Object
Immutable two-dimensional spherical coordinates, in degrees.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description LatLng(double lat, double lng)
Construct with latitude and longitude -
Method Summary
-
Field Details
-
lat
public final double latLatitude (north-south) coordinate in degrees -
lng
public final double lngLongitude (east-west) coordinate in degrees
-
-
Constructor Details
-
LatLng
public LatLng(double lat, double lng)Construct with latitude and longitude- Parameters:
lat
- Latitude coordinatelng
- Longitude coordinate
-
-
Method Details