Example usage for Java com.google.common.geometry S2RegionCoverer fields, constructors, methods, implement or subclass
The text is from its open source code.
S2RegionCoverer() Default constructor, sets all fields to default values. |
S2CellUnion | getCovering(S2Region region) Return a normalized cell union that covers the given region and satisfies the restrictions *EXCEPT* for min_level() and level_mod(). |
void | getCovering(S2Region region, ArrayList Computes a list of cell ids that covers the given region and satisfies the various restrictions specified above. |
void | getCovering(S2Region region, S2CellUnion covering) |
void | setMaxCells(int maxCells) Sets the maximum desired number of cells in the approximation (defaults to kDefaultMaxCells). |
void | setMaxLevel(int maxLevel) Sets the maximum level to be used. |
void | setMinLevel(int minLevel) Sets the minimum level to be used. |