Searched refs:lng (Results 1 – 5 of 5) sorted by relevance
93 public final double lng; field in CbGeoUtils.LatLng100 public LatLng(double lat, double lng) { in LatLng() argument102 this.lng = lng; in LatLng()111 return new LatLng(lat - p.lat, lng - p.lng); in subtract()121 double dlng = Math.sin(0.5 * Math.toRadians(lng - p.lng)); in distance()129 return "(" + lat + "," + lng + ")"; in toString()146 return lat == l.lat && lng == l.lng; in equals()180 if (vertices.get(i).lng < vertices.get(idx).lng) { in Polygon()256 double y = latLng.lng - mOrigin.lng; in convertAndScaleLatLng()264 if (sign(mOrigin.lng) != 0 && sign(mOrigin.lng) != sign(latLng.lng)) { in convertAndScaleLatLng()[all …]
45 assertThat(latlng.lng).isWithin(CbGeoUtils.EPS).of(179.5678); in testParseLatLngFromString()71 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(22.22); in testEncodeGeometries()74 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(44.44); in testEncodeGeometries()77 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(-56.0); in testEncodeGeometries()84 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(123.456); in testEncodeGeometries()103 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(22.22); in testParseGeometriesFromString()106 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(44.44); in testParseGeometriesFromString()109 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(-56.0); in testParseGeometriesFromString()116 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(123.456); in testParseGeometriesFromString()
117 field public final double lng;
8082 field public final double lng;
7980 field public final double lng;