S2Cell.getDistance

Returns the minimum distance from the cell to the given edge AB. Returns zero if the edge intersects the cell interior.

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

Meta