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

Karl Wright commented on LUCENE-8281:
-------------------------------------

[~ivera], I presume you are referring to this when you say that the "bounds are 
identical for the first leg":

{code}
    Above Plane: [A=0.0, B=0.0; C=1.0; D=5.814438626886162E-8]
    Below Plane: [A=0.0, B=0.0; C=1.0; D=5.814238626886161E-8]
{code}

The D values do differ -- in a small way, but significant, and is why the 
Sector iterator is OK in this case.

FWIW, it doesn't even matter if you pick the "wrong" iterator -- you still have 
a valid path that takes you to the intersection point and that's all that 
matters.  It could be on the opposite side of the world than you had intended 
and it would still be just fine.  The Full  iterator in fact picks the side of 
the world arbitrarily.



> Random polygon test failures
> ----------------------------
>
>                 Key: LUCENE-8281
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8281
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial3d
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>            Priority: Major
>         Attachments: LUCENE-8281-debugging.patch, LUCENE-8281.jpg
>
>
> Reproduce here:
> {code}
> ant test  -Dtestcase=RandomGeoPolygonTest 
> -Dtests.method=testCompareSmallPolygons -Dtests.seed=42573983280EE568 
> -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=jmc-TZ 
> -Dtests.timezone=US/Alaska -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
> {code}



--
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