You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/11/25 16:32:43 UTC

[GitHub] [lucene] iverase commented on issue #11883: Spatial3d: Wrong intersection detected between small polygons

iverase commented on issue #11883:
URL: https://github.com/apache/lucene/issues/11883#issuecomment-1327681907

   A possible fix would be to create perpendicular planes for the bounds instead of using the previous and next edges:
   
   ```
         final SidedPlane boundPlane1 = new SidedPlane(notableEdgePoints[bound1Index][0], edge, notableEdgePoints[bound2Index][1]);
         final SidedPlane boundPlane2 = new SidedPlane(notableEdgePoints[bound2Index][1], edge, notableEdgePoints[bound1Index][0]);
   ```
   But it means we would need to create two more planes for each edge.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org