Package org.apache.lucene.spatial3d.geom
Class GeoComplexPolygon.ZTree
- java.lang.Object
-
- org.apache.lucene.spatial3d.geom.GeoComplexPolygon.Tree
-
- org.apache.lucene.spatial3d.geom.GeoComplexPolygon.ZTree
-
- Enclosing class:
- GeoComplexPolygon
private static class GeoComplexPolygon.ZTree extends GeoComplexPolygon.Tree
This is the z-tree.
-
-
Constructor Summary
Constructors Constructor Description ZTree(java.util.List<GeoComplexPolygon.Edge> allEdges)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected doublegetMaximum(GeoComplexPolygon.Edge edge)Get the maximum value from the edge.protected doublegetMinimum(GeoComplexPolygon.Edge edge)Get the minimum value from the edge.-
Methods inherited from class org.apache.lucene.spatial3d.geom.GeoComplexPolygon.Tree
traverse, traverse
-
-
-
-
Constructor Detail
-
ZTree
public ZTree(java.util.List<GeoComplexPolygon.Edge> allEdges)
-
-
Method Detail
-
getMinimum
protected double getMinimum(GeoComplexPolygon.Edge edge)
Description copied from class:GeoComplexPolygon.TreeGet the minimum value from the edge.- Specified by:
getMinimumin classGeoComplexPolygon.Tree- Parameters:
edge- is the edge.- Returns:
- the minimum value.
-
getMaximum
protected double getMaximum(GeoComplexPolygon.Edge edge)
Description copied from class:GeoComplexPolygon.TreeGet the maximum value from the edge.- Specified by:
getMaximumin classGeoComplexPolygon.Tree- Parameters:
edge- is the edge.- Returns:
- the maximum value.
-
-