java.lang.Object
org.apache.lucene.document.ShapeDocValues.TreeNode
- Enclosing class:
- ShapeDocValues
Builds an in memory binary tree of tessellated triangles. This logic comes from
org.apache.lucene.geo.ComponentTree
which originated from
org.apache.lucene.geo.EdgeTree
The tree is serialized on disk in a variable format which becomes a compressed representation of the doc value format for the Geometry Component Tree
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private ShapeField.DecodedTriangle.TYPE
private ShapeDocValues.TreeNode
private final double
private int
private int
private double
centroid running stats (in encoded space) for this tree nodeprivate double
private int
the bounding box for the treeprivate int
private ShapeDocValues.TreeNode
private ShapeDocValues.TreeNode
private final double
private final ShapeField.DecodedTriangle
the triangle for this tree node -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
triangle
the triangle for this tree node -
midX
private double midXcentroid running stats (in encoded space) for this tree node -
midY
private double midY -
signedArea
private final double signedArea -
length
private final double length -
highestType
-
minX
private int minXthe bounding box for the tree -
maxX
private int maxX -
minY
private int minY -
maxY
private int maxY -
left
-
right
-
parent
-
byteSize
private int byteSize
-
-
Constructor Details
-
TreeNode
-