Lines Matching refs:S1Angle
44 return new S2LatLng(S1Angle.degrees(latDegrees), S1Angle.degrees(lngDegrees)); in fromDegrees()
48 return new S2LatLng(S1Angle.e5(latE5), S1Angle.e5(lngE5)); in fromE5()
52 return new S2LatLng(S1Angle.e6(latE6), S1Angle.e6(lngE6)); in fromE6()
56 return new S2LatLng(S1Angle.e7(latE7), S1Angle.e7(lngE7)); in fromE7()
59 public static S1Angle latitude(S2Point p) { in latitude()
62 return S1Angle.radians( in latitude()
66 public static S1Angle longitude(S2Point p) { in longitude()
68 return S1Angle.radians(Math.atan2(p.get(1), p.get(0))); in longitude()
83 public S2LatLng(S1Angle lat, S1Angle lng) { in S2LatLng()
110 public S1Angle lat() { in lat()
111 return S1Angle.radians(latRadians); in lat()
125 public S1Angle lng() { in lng()
126 return S1Angle.radians(lngRadians); in lng()
180 public S1Angle getDistance(final S2LatLng o) { in getDistance()
198 return S1Angle.radians(2 * Math.atan2(Math.sqrt(x), Math.sqrt(Math.max(0.0, 1.0 - x)))); in getDistance()