Module org.apache.lucene.spatial3d
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 double
getMaximum(GeoComplexPolygon.Edge edge)
Get the maximum value from the edge.protected double
getMinimum(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.Tree
Get the minimum value from the edge.- Specified by:
getMinimum
in classGeoComplexPolygon.Tree
- Parameters:
edge
- is the edge.- Returns:
- the minimum value.
-
getMaximum
protected double getMaximum(GeoComplexPolygon.Edge edge)
Description copied from class:GeoComplexPolygon.Tree
Get the maximum value from the edge.- Specified by:
getMaximum
in classGeoComplexPolygon.Tree
- Parameters:
edge
- is the edge.- Returns:
- the maximum value.
-
-