Package com.google.common.geometry
Interface S2ContainsPointQuery.EdgeVisitor
-
- Enclosing class:
- S2ContainsPointQuery
static interface S2ContainsPointQuery.EdgeVisitor
A visitor that receives each edge that has some query point p as an endpoint.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
test(S2Shape shape, int edgeId, S2Point a, S2Point b)
Returns true if the next edge should be received, or false to terminate early.
-
-
-
Method Detail
-
test
boolean test(S2Shape shape, int edgeId, S2Point a, S2Point b)
Returns true if the next edge should be received, or false to terminate early.- Parameters:
shape
- The shape of this edgeedgeId
- The edge ID in 'shape' that produced this edgea
- The startpoint of the edgeb
- The endpoint of the edge
-
-