[
https://issues.apache.org/jira/browse/LUCENE-8281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16456293#comment-16456293
]
Karl Wright commented on LUCENE-8281:
-------------------------------------
Hi [~ivera], you are talking about this iterator, right?
{code}
FirstLeg:
Generating SectorLinearCrossingEdgeIterator with:
Plane: [A=0.0, B=0.0; C=1.0; D=5.8143386268861615E-8]
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]
Point: 0.9999999999993657,1.124732395751746E-6,-5.8143386268861615E-8
Travel distance: 1.9999999999999964
Bound1: [A=1.124732395751748E-6, B=-0.9999999999993675, C=0.0, D=0.0,
side=-1.0]
Bound2: [A=-1.124732395751748E-6, B=0.9999999999993675, C=0.0, D=0.0,
side=-1.0]
{code}
If Bound1 and Bound2 somehow wind up describing the null set of points, between
them, then the Sector iterator indeed cannot be used. I still cannot see how
that would arise in this situation but it should be possible to experiment with
this for a moment.
> 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]