protected static class S2PrefixTree.Factory extends SpatialPrefixTreeFactory
S2PrefixTree instances with useful defaultsargs, ctx, MAX_DIST_ERR, MAX_LEVELS, maxLevels, PREFIX_TREE, VERSION| Modifier | Constructor and Description |
|---|---|
protected |
Factory() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getLevelForDistance(double degrees)
|
protected SpatialPrefixTree |
newSPT() |
getVersion, init, initMaxLevels, initVersion, makeSPT, setVersionprotected int getLevelForDistance(double degrees)
SpatialPrefixTreeFactorygetLevelForDistance in class SpatialPrefixTreeFactoryprotected SpatialPrefixTree newSPT()
newSPT in class SpatialPrefixTreeFactoryCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.