Replaces "output" with an expanded version of the cell union where any
cells whose level is less than "min_level" or where (level - min_level)
is not a multiple of "level_mod" are replaced by their children, until
either both of these conditions are satisfied or the maximum level is
reached.
This method allows a covering generated by S2RegionCoverer using
min_level() or level_mod() constraints to be stored as a normalized cell
union (which allows various geometric computations to be done) and then
converted back to the original list of cell ids that satisfies the
desired constraints.
voiddenormalize(int min_level, int level_mod, S2CellId[] output)
Replaces "output" with an expanded version of the cell union where any cells whose level is less than "min_level" or where (level - min_level) is not a multiple of "level_mod" are replaced by their children, until either both of these conditions are satisfied or the maximum level is reached.
This method allows a covering generated by S2RegionCoverer using min_level() or level_mod() constraints to be stored as a normalized cell union (which allows various geometric computations to be done) and then converted back to the original list of cell ids that satisfies the desired constraints.