Package org.apache.lucene.spatial3d.geom
Class GeoComplexPolygon.IntersectorShapeIterator
- java.lang.Object
-
- org.apache.lucene.spatial3d.geom.GeoComplexPolygon.IntersectorShapeIterator
-
- All Implemented Interfaces:
GeoComplexPolygon.EdgeIterator
- Enclosing class:
- GeoComplexPolygon
private class GeoComplexPolygon.IntersectorShapeIterator extends java.lang.Object implements GeoComplexPolygon.EdgeIterator
Assess whether edge intersects the provided shape.
-
-
Constructor Summary
Constructors Constructor Description IntersectorShapeIterator(GeoShape shape)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(GeoComplexPolygon.Edge edge)
-
-
-
Field Detail
-
shape
private final GeoShape shape
-
-
Constructor Detail
-
IntersectorShapeIterator
public IntersectorShapeIterator(GeoShape shape)
-
-
Method Detail
-
matches
public boolean matches(GeoComplexPolygon.Edge edge)
- Specified by:
matches
in interfaceGeoComplexPolygon.EdgeIterator
- Parameters:
edge
- is the edge that matched.- Returns:
- true if the iteration should continue, false otherwise.
-
-