Package org.apache.lucene.geo
Class Line2D
- java.lang.Object
-
- org.apache.lucene.geo.EdgeTree
-
- org.apache.lucene.geo.Line2D
-
public final class Line2D extends EdgeTree
2D line implementation represented as a balanced interval tree of edges.Line
Line2D
Construction takesO(n log n)
time for sorting and tree construction.relate()
areO(n)
, but for most practical lines are much faster than brute force.- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Line2D
create(Line... lines)
create a Line2D edge tree from provided array of Linestrings-
Methods inherited from class org.apache.lucene.geo.EdgeTree
componentRelate, componentRelateTriangle, createTree, internalComponentRelate, relate, relateTriangle
-
-