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 Plane
private final Plane
private final Plane
private final GeoComplexPolygon.Tree
private final double
private final GeoPoint
private final Plane
private final Plane
private final Plane
private final GeoComplexPolygon.Tree
private final double
private 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:
compareTo
in interfaceComparable<GeoComplexPolygon.TraversalStrategy>
-