public static class GeoEncodingUtils.PolygonPredicate extends GeoEncodingUtils.Grid
| Modifier and Type | Field and Description |
|---|---|
private Polygon2D |
tree |
ARITY, latBase, latShift, lonBase, lonShift, maxLatDelta, maxLonDelta, relations| Modifier | Constructor and Description |
|---|---|
private |
PolygonPredicate(int latShift,
int lonShift,
int latBase,
int lonBase,
int maxLatDelta,
int maxLonDelta,
byte[] relations,
Polygon2D tree) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(int lat,
int lon)
Check whether the given point is within the considered polygon.
|