S2Cell.getDistance

Returns the distance from the cell to the given point. Returns zero if the point is inside the cell.

  1. S1ChordAngle getDistance(S2Point target)
    class S2Cell
    const
    getDistance
  2. S1ChordAngle getDistance(S2Point a, S2Point b)
  3. S1ChordAngle getDistance(S2Cell target)

Meta