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 intprivate ShapeField.DecodedTriangle.TYPEprivate ShapeDocValues.TreeNodeprivate final doubleprivate intprivate intprivate doublecentroid running stats (in encoded space) for this tree nodeprivate doubleprivate intthe bounding box for the treeprivate intprivate ShapeDocValues.TreeNodeprivate ShapeDocValues.TreeNodeprivate final doubleprivate final ShapeField.DecodedTrianglethe 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
-