Home
last modified time | relevance | path

Searched refs:latLo (Results 1 – 5 of 5) sorted by relevance

/external/s2-geometry-library-java/tests/com/google/common/geometry/
DS2LatLngRectTest.java77 assertDoubleNear(d1.latLo().degrees(), -90); in testBasic()
397 {new S2LatLng(a.latLo(), a.lngLo()), new S2LatLng(a.latLo(), a.lngHi()), in bruteForceDistance()
400 {new S2LatLng(b.latLo(), b.lngLo()), new S2LatLng(b.latLo(), b.lngHi()), in bruteForceDistance()
404 S1Angle latA[] = {a.latLo(), a.latHi()}; in bruteForceDistance()
405 S1Angle latB[] = {b.latLo(), b.latHi()}; in bruteForceDistance()
438 S1Angle bToLoLat = getDistance(b, a.latLo(), a.lng()); in bruteForceRectPointDistance()
441 S2EdgeUtil.getDistance(b.toPoint(), new S2LatLng(a.latLo(), a.lngLo()).toPoint(), in bruteForceRectPointDistance()
444 S2EdgeUtil.getDistance(b.toPoint(), new S2LatLng(a.latLo(), a.lngHi()).toPoint(), in bruteForceRectPointDistance()
481 double latLo, double lngLo, double latHi, double lngHi) { in rectFromDegrees() argument
487 return new S2LatLngRect(S2LatLng.fromDegrees(latLo, lngLo).normalized(), in rectFromDegrees()
DS2CapTest.java129 assertDoubleNear(rect.latLo().degrees(), -90, kDegreeEps); in testRectBound()
142 assertDoubleNear(rect.latLo().degrees(), 0, kDegreeEps); in testRectBound()
149 assertDoubleNear(rect.latLo().degrees(), -90, kDegreeEps); in testRectBound()
155 assertDoubleNear(rect.latLo().degrees(), -20, kDegreeEps); in testRectBound()
162 assertDoubleNear(rect.latLo().degrees(), 80, kDegreeEps); in testRectBound()
DS2LoopTest.java103 assertTrue(candyCane.getRectBound().latLo().degrees() < -20); in testBounds()
DS2CellTest.java259 if (childRect.latLo().radians() > -S2.M_PI_2 in testSubdivide()
/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2LatLngRect.java145 public S1Angle latLo() { in latLo() method in S2LatLngRect
170 return new S2LatLng(latLo(), lngLo()); in lo()
277 hi = a.latLo(); in getDistance()
280 hi = b.latLo(); in getDistance()
304 S2Point aLo = new S2LatLng(a.latLo(), aLng).toPoint(); in getDistance()
308 S2Point bLo = new S2LatLng(b.latLo(), bLng).toPoint(); in getDistance()
546 return lng().getLength() * Math.abs(Math.sin(latHi().radians()) - Math.sin(latLo().radians())); in area()