S2CellId.toFaceIJOrientation

Return the (face, i, j) coordinates for the leaf cell corresponding to this cell id. Since cells are represented by the Hilbert curve position at the center of the cell, the returned (i,j) for non-leaf cells will be a leaf cell adjacent to the cell center. If "orientation" is non-nullptr, also return the Hilbert curve orientation for the current cell.

  1. int toFaceIJOrientation(int pi, int pj)
    struct S2CellId
    const
    int
    toFaceIJOrientation
    (
    out int pi
    ,
    out int pj
    )
  2. int toFaceIJOrientation(int pi, int pj, int orientation)

Meta