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

Ignacio Vera commented on LUCENE-8211:
--------------------------------------

Attached a test with the described behavior. Not sure about the fix. If the 
point to check is paralell to the test point but not identical then should we 
return {{!testPointInSet}}? Not sure if that is true in all cases.

> GeoComplexPolygon throws error when checking within() for a point parallel to 
> test point
> ----------------------------------------------------------------------------------------
>
>                 Key: LUCENE-8211
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8211
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial3d
>            Reporter: Ignacio Vera
>            Priority: Major
>         Attachments: LUCENE-8211.patch
>
>
> If a GeoComplexPolygon is created with test point (x, y, z) and we try to 
> check if point(-x,-y,-z) is {{within()}}then an error is thrown. It seems we 
> need to handle the case when a point is parallel to the test point but not 
> identical.
>  



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