Package org.apache.lucene.spatial3d.geom
Class GeoComplexPolygon.IntersectorEdgeIterator
- java.lang.Object
-
- org.apache.lucene.spatial3d.geom.GeoComplexPolygon.IntersectorEdgeIterator
-
- All Implemented Interfaces:
GeoComplexPolygon.EdgeIterator
- Enclosing class:
- GeoComplexPolygon
private class GeoComplexPolygon.IntersectorEdgeIterator extends java.lang.Object implements GeoComplexPolygon.EdgeIterator
Assess whether edge intersects the provided plane plus bounds.
-
-
Field Summary
Fields Modifier and Type Field Description private Membership[]boundsprivate GeoPoint[]notablePointsprivate Planeplane
-
Constructor Summary
Constructors Constructor Description IntersectorEdgeIterator(Plane plane, GeoPoint[] notablePoints, Membership... bounds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatches(GeoComplexPolygon.Edge edge)
-
-
-
Field Detail
-
plane
private final Plane plane
-
notablePoints
private final GeoPoint[] notablePoints
-
bounds
private final Membership[] bounds
-
-
Constructor Detail
-
IntersectorEdgeIterator
public IntersectorEdgeIterator(Plane plane, GeoPoint[] notablePoints, Membership... bounds)
-
-
Method Detail
-
matches
public boolean matches(GeoComplexPolygon.Edge edge)
- Specified by:
matchesin interfaceGeoComplexPolygon.EdgeIterator- Parameters:
edge- is the edge that matched.- Returns:
- true if the iteration should continue, false otherwise.
-
-