Karl Wright created LUCENE-7216:
-----------------------------------
Summary: Find an O(N) way to tile arbitrary geo3d polygons
Key: LUCENE-7216
URL: https://issues.apache.org/jira/browse/LUCENE-7216
Project: Lucene - Core
Issue Type: Improvement
Components: modules/spatial3d
Affects Versions: master
Reporter: Karl Wright
Assignee: Karl Wright
Construction of GeoPolygons through GeoPolygonFactory.makeGeoPolygon() takes
O(N^2) time, where N is the number of points. This is due to the
non-transitive nature of edge/point comparisons in Geo3D; just knowing that the
next point is on the right side of an edge doesn't tell you anything about
previous edges. Still, maybe there is a 2D algorithm somewhere that can be
adapted to run in O(N) time.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]