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

Ignacio Vera commented on LUCENE-8140:
--------------------------------------

 Looking at the problem, it seems the problem appears when looking for the 
polygon path. A possible solution is to update the current path to the new 
coplanar point, something that it is not currently done. 

> Checks for coplanarity when creating polygons shows numerical issues
> --------------------------------------------------------------------
>
>                 Key: LUCENE-8140
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8140
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial3d
>            Reporter: Ignacio Vera
>            Assignee: Karl Wright
>            Priority: Major
>         Attachments: LUCENE-8140-fix.patch, LUCENE-8140.patch
>
>
> Coplanarity checks in GeoPolygonFactory shows numerical errors when the 
> distance between two points is very small compared to the distance of the 
> other two points. The situation is as follows:
> Having three points A, B, & C and the distance between A & B is very small 
> compared to the distance between A & C, then the plane AC contains all points 
> (co-planar) but the plane defined by AB does not contain C because of 
> numerical issues. This situation makes some polygons fail to build.



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