Function S2CellId.next

Returns the next/previous cell at the same level along the Hilbert curve. Works correctly when advancing from one face to the next, but does *not* wrap around from the last face to the first or vice versa.

S2CellId next() const;