class GeometryContainsPointVisitor extends ShortCircuitedGeometryVisitor
Modifier and Type | Field and Description |
---|---|
private boolean |
containsPoint |
private Envelope |
rectEnv |
private CoordinateSequence |
rectSeq |
Constructor and Description |
---|
GeometryContainsPointVisitor(Polygon rectangle) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsPoint()
Reports whether it can be concluded that a corner point of the rectangle is
contained in the geometry, or whether further testing is required.
|
protected boolean |
isDone() |
protected void |
visit(Geometry geom) |
applyTo
private CoordinateSequence rectSeq
private Envelope rectEnv
private boolean containsPoint
public GeometryContainsPointVisitor(Polygon rectangle)
public boolean containsPoint()
protected void visit(Geometry geom)
visit
in class ShortCircuitedGeometryVisitor
protected boolean isDone()
isDone
in class ShortCircuitedGeometryVisitor