[
https://issues.apache.org/jira/browse/LUCENE-8239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16427045#comment-16427045
]
Karl Wright commented on LUCENE-8239:
-------------------------------------
I haven't looked at all at case 2:
{quote}
2) Degenerated vector: The test point is in one pole and checkpoint is near the
pole but not identical. The SectorLinearCrossingEdgeIterator tries to build a
plane with those two vectors essentially and throws an error as they are almost
parallel. In FullLinearCrossingEdgeIterator ocurrs the same.
{quote}
This is the one where I thought it was not possible to have this situation. If
it really occurs, we should have a test for it, and maybe we need to increase
MINIMUM_RESOLUTION.
> 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]