Java com.google.common.geometry S2LatLng fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.geometry S2LatLng fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.geometry S2LatLng.

The text is from its open source code.

Constructor

S2LatLng(S2Point p)
Convert a point (not necessarily normalized) to an S2LatLng.

Method

S2LatLngfromDegrees(double latDegrees, double lngDegrees)
S2LatLngfromE6(long latE6, long lngE6)
S2LatLngfromRadians(double latRadians, double lngRadians)
doublegetEarthDistance(final S2LatLng o)
Returns the surface distance to the given point assuming the default Earth radius of #EARTH_RADIUS_METERS .
S1Anglelat()
Returns the latitude of this point as a new S1Angle.
doublelatDegrees()
Returns the latitude of this point as degrees.
S1Anglelng()
Returns the longitude of this point as a new S1Angle.
doublelngDegrees()
Returns the longitude of this point as degrees.
S2PointtoPoint()
Convert an S2LatLng to the equivalent unit-length vector (S2Point).