You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2016/04/14 01:11:25 UTC

[jira] [Created] (LUCENE-7216) Find an O(N) way to tile arbitrary geo3d polygons

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org