Lines Matching refs:toPoint
246 S2Point lo = S2LatLng.fromRadians(a.lat().lo(), aLng).toPoint(); in getDistance()
247 S2Point hi = S2LatLng.fromRadians(a.lat().hi(), aLng).toPoint(); in getDistance()
249 S2LatLng.fromRadians(0, aLng - S2.M_PI_2).normalized().toPoint(); in getDistance()
250 return S2EdgeUtil.getDistance(p.toPoint(), lo, hi, loCrossHi); in getDistance()
304 S2Point aLo = new S2LatLng(a.latLo(), aLng).toPoint(); in getDistance()
305 S2Point aHi = new S2LatLng(a.latHi(), aLng).toPoint(); in getDistance()
307 S2LatLng.fromRadians(0, aLng.radians() - S2.M_PI_2).normalized().toPoint(); in getDistance()
308 S2Point bLo = new S2LatLng(b.latLo(), bLng).toPoint(); in getDistance()
309 S2Point bHi = new S2LatLng(b.latHi(), bLng).toPoint(); in getDistance()
311 S2LatLng.fromRadians(0, bLng.radians() - S2.M_PI_2).normalized().toPoint(); in getDistance()
395 if (cell.contains(getCenter().toPoint())) { in intersects()
531 S2Cap vertexCap = S2Cap.fromAxisHeight(getVertex(k).toPoint(), cap in convolveWithCap()
617 S2Cap midCap = S2Cap.fromAxisAngle(getCenter().toPoint(), S1Angle in getCapBound()
620 midCap = midCap.addPoint(getVertex(k).toPoint()); in getCapBound()
670 .toPoint(), S2LatLng.fromRadians(lat.hi(), lng).toPoint()); in intersectsLngEdge()