Package org.apache.lucene.geo
Class GeoEncodingUtils.Component2DPredicate
java.lang.Object
org.apache.lucene.geo.GeoEncodingUtils.Component2DPredicate
- Enclosing class:
- GeoEncodingUtils
A predicate that checks whether a given point is within a component2D geometry.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
test
(int lat, int lon) Check whether the given point is within the considered polygon.
-
Method Details
-
test
public boolean test(int lat, int lon) Check whether the given point is within the considered polygon. NOTE: this operates directly on the encoded representation of points.
-