s2js
    Preparing search index...

    Function fromPoint

    • Returns a leaf cell containing point p. Usually there is exactly one such cell, but for points along the edge of a cell, any adjacent cell may be (deterministically) chosen. This is because CellIDs are considered to be closed sets. The returned cell will always contain the given point, i.e.

      CellFromPoint(p).ContainsPoint(p)
      

      is always true.

      Parameters

      Returns bigint