Module org.apache.lucene.spatial3d
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[]
bounds
private GeoPoint[]
notablePoints
private Plane
plane
-
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 boolean
matches(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:
matches
in interfaceGeoComplexPolygon.EdgeIterator
- Parameters:
edge
- is the edge that matched.- Returns:
- true if the iteration should continue, false otherwise.
-
-