Example #1
0
 // Like GetCovering(), except that this method is much faster and the
 // coverings are not as tight.  All of the usual parameters are respected
 // (max_cells, min_level, max_level, and level_mod), except that the
 // implementation makes no attempt to take advantage of large values of
 // max_cells().  (A small number of cells will always be returned.)
 //
 // This function is useful as a starting point for algorithms that
 // recursively subdivide cells.
 public void GetFastCovering(IS2Region region, List <S2CellId> covering)
 {
     region.GetCellUnionBound(covering);
     CanonicalizeCovering(covering);
 }