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

Karl Wright commented on LUCENE-8239:
-------------------------------------

I take that back.  I see this:

{code}
   [junit4]   1> YIntersectionZ point: travel distance: tpDelta1 = 
5.329070518200751E-15; tpDelta2 = -9.999999999999982E-8; cpDelta1 = 
0.031087578289355378; cpDelta2 = -0.247403959254523; newDistance = 
0.06217515657872048
{code}

That 5e-15 is where the problem is.  Let me try and stop that choice from being 
considered.

> GeoComplexPolygon fails when test or/and check point are near a pole
> --------------------------------------------------------------------
>
>                 Key: LUCENE-8239
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8239
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial3d
>            Reporter: Ignacio Vera
>            Priority: Major
>         Attachments: LUCENE-8239.patch
>
>
> When calling {{within}} method in GeoComplexPolygon you can get errors if the 
> test point of the polygon or the given point is near a pole.
> The reason is that one of the planes defined by these points is tangent to 
> the world therefore intersection with the above plane fails. We should 
> prevent navigating those planes ( we should not even construct them).



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to