S2Cell.getDistance

Returns the distance from the cell to the given cell. Returns zero if one cell contains the other.

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

Meta