public final class S2RegionCoverer extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_CELLS |
| Constructor and Description |
|---|
S2RegionCoverer() |
| Modifier and Type | Method and Description |
|---|---|
S2CellUnion |
getCovering(S2Region region) |
void |
getCovering(S2Region region,
ArrayList<S2CellId> covering) |
void |
getCovering(S2Region region,
S2CellUnion covering) |
S2CellUnion |
getInteriorCovering(S2Region region) |
void |
getInteriorCovering(S2Region region,
ArrayList<S2CellId> interior) |
void |
getInteriorCovering(S2Region region,
S2CellUnion covering) |
static void |
getSimpleCovering(S2Region region,
S2Point start,
int level,
ArrayList<S2CellId> output) |
int |
levelMod() |
int |
maxCells() |
int |
maxLevel() |
int |
minLevel() |
void |
setLevelMod(int levelMod) |
void |
setMaxCells(int maxCells) |
void |
setMaxLevel(int maxLevel) |
void |
setMinLevel(int minLevel) |
public void setMinLevel(int minLevel)
public void setMaxLevel(int maxLevel)
public int minLevel()
public int maxLevel()
public int maxCells()
public void setLevelMod(int levelMod)
public int levelMod()
public void setMaxCells(int maxCells)
public S2CellUnion getCovering(S2Region region)
public void getCovering(S2Region region, S2CellUnion covering)
public S2CellUnion getInteriorCovering(S2Region region)
public void getInteriorCovering(S2Region region, S2CellUnion covering)
Copyright © 2017. All rights reserved.