[ https://issues.apache.org/jira/browse/LUCENE-8258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16445291#comment-16445291 ]
Ignacio Vera commented on LUCENE-8258: -------------------------------------- I think the solution needs to check if the above and below planes actually intersect inside the world. I had a look into the intersection code and that is determine by the solution of a quadratic formula, in particular the square root of the solution. In our problem because planes are perpendicular to each other and both parallel to one of the axes. Therefore checking if the square root of the quadratic has a solution is straight forward. Attached a patch with the extra check. > GeoComplexPolygon fails computing traversals > -------------------------------------------- > > Key: LUCENE-8258 > URL: https://issues.apache.org/jira/browse/LUCENE-8258 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial3d > Reporter: Ignacio Vera > Assignee: Karl Wright > Priority: Major > Attachments: LUCENE-8258.jpg, LUCENE-8258.patch, LUCENE-8258.patch > > > There are some situations when checking for memebership for a > GeoComplexPolygon results in the following error: > {{java.lang.IllegalArgumentException: No off-plane intersection points were > found; can't compute traversal}} > It seems the intersection of auxiliary planes created is outside of the world. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org