[
https://issues.apache.org/jira/browse/LUCENE-8281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16455998#comment-16455998
]
Ignacio Vera commented on LUCENE-8281:
--------------------------------------
Sorry I was mislead by the title of the ticket. That test case shows a similar
error but somewhere else, when computing membership the check point:
{code:java}
IsInSet called for
[0.9999999999993657,1.124732395751746E-6,5.8143386268861615E-8],
testPoint=[X=-0.9999999999993657, Y=-1.124732395751746E-6,
Z=-5.8143386268861615E-8]; is in set? false
Using two planes
Picking XZ then XY
Finding whether [X=0.9999999999993657, Y=1.124732395751746E-6,
Z=-5.8143386268861615E-8] is in-set, based on travel from
[X=-0.9999999999993657, Y=-1.124732395751746E-6, Z=-5.8143386268861615E-8]
along [A=0.0, B=0.0; C=1.0; D=5.8143386268861615E-8]
(value=-5.8143386268861615E-8)
Constructing sector linear crossing edge iterator with bounds:
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}
So we can rule out that the problem is that points are not on the surface.
> 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]