Example usage for Java com.google.common.geometry S2LatLng fields, constructors, methods, implement or subclass
The text is from its open source code.
S2LatLng(S2Point p) Convert a point (not necessarily normalized) to an S2LatLng. |
S2LatLng | fromDegrees(double latDegrees, double lngDegrees) |
S2LatLng | fromE6(long latE6, long lngE6) |
S2LatLng | fromRadians(double latRadians, double lngRadians) |
double | getEarthDistance(final S2LatLng o) Returns the surface distance to the given point assuming the default Earth radius of #EARTH_RADIUS_METERS . |
S1Angle | lat() Returns the latitude of this point as a new S1Angle. |
double | latDegrees() Returns the latitude of this point as degrees. |
S1Angle | lng() Returns the longitude of this point as a new S1Angle. |
double | lngDegrees() Returns the longitude of this point as degrees. |
S2Point | toPoint() Convert an S2LatLng to the equivalent unit-length vector (S2Point). |