Module org.apache.lucene.spatial3d
Package org.apache.lucene.spatial3d.geom
Class GeoComplexPolygon.TraversalStrategy
java.lang.Object
org.apache.lucene.spatial3d.geom.GeoComplexPolygon.TraversalStrategy
- All Implemented Interfaces:
Comparable<GeoComplexPolygon.TraversalStrategy>
- Enclosing class:
GeoComplexPolygon
private class GeoComplexPolygon.TraversalStrategy
extends Object
implements Comparable<GeoComplexPolygon.TraversalStrategy>
Strategy class for describing traversals. Implements Comparable so that these can be ordered by
Collections.sort().
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Planeprivate final Planeprivate final Planeprivate final GeoComplexPolygon.Treeprivate final doubleprivate final GeoPointprivate final Planeprivate final Planeprivate final Planeprivate final GeoComplexPolygon.Treeprivate final doubleprivate final double -
Constructor Summary
ConstructorsConstructorDescriptionTraversalStrategy(double traversalDistance, double firstLegValue, double secondLegValue, Plane firstLegPlane, Plane firstLegAbovePlane, Plane firstLegBelowPlane, Plane secondLegPlane, Plane secondLegAbovePlane, Plane secondLegBelowPlane, GeoComplexPolygon.Tree firstLegTree, GeoComplexPolygon.Tree secondLegTree, GeoPoint intersectionPoint) -
Method Summary
-
Field Details
-
traversalDistance
private final double traversalDistance -
firstLegValue
private final double firstLegValue -
secondLegValue
private final double secondLegValue -
firstLegPlane
-
firstLegAbovePlane
-
firstLegBelowPlane
-
secondLegPlane
-
secondLegAbovePlane
-
secondLegBelowPlane
-
firstLegTree
-
secondLegTree
-
intersectionPoint
-
-
Constructor Details
-
TraversalStrategy
public TraversalStrategy(double traversalDistance, double firstLegValue, double secondLegValue, Plane firstLegPlane, Plane firstLegAbovePlane, Plane firstLegBelowPlane, Plane secondLegPlane, Plane secondLegAbovePlane, Plane secondLegBelowPlane, GeoComplexPolygon.Tree firstLegTree, GeoComplexPolygon.Tree secondLegTree, GeoPoint intersectionPoint)
-
-
Method Details
-
apply
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<GeoComplexPolygon.TraversalStrategy>
-