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 2018/04/19 11:40:00 UTC

[jira] [Commented] (LUCENE-8258) GeoComplexPolygon fails computing traversals

    [ https://issues.apache.org/jira/browse/LUCENE-8258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16443928#comment-16443928 ] 

Karl Wright commented on LUCENE-8258:
-------------------------------------

Debugging output shows that the outside-outside point of the dual traversal doesn't lie on the world:

{code}
   [junit4]   1> Calling pickProximate for outsideOutside point for plane intersection of [A=0.0, B=0.0; C=1.0; D=-3.590718044207102E-6] and [A=1.0, B=0.0; C=0.0; D=-0.9999999999942558]
{code}

This is very close to being a single-edge traversal -- it misses by a small fraction.

The second plane is very very close to being eliminated by the check [~ivera] added.  I think we may just need to tighten up those checks further.  We need MINIMUM_RESOLUTION either way in order to guarantee that the envelopes intersect the world.  What do you think?


> GeoComplexPolygon fails computing traversals
> --------------------------------------------
>
>                 Key: LUCENE-8258
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8258
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial3d
>            Reporter: Ignacio Vera
>            Assignee: Karl Wright
>            Priority: Major
>         Attachments: LUCENE-8258.jpg, LUCENE-8258.patch
>
>
> There are some situations when checking for memebership for a GeoComplexPolygon results in the following error:
> {{java.lang.IllegalArgumentException: No off-plane intersection points were found; can't compute traversal}}
> It seems the intersection of auxiliary planes created is outside of the world.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org