[ https://issues.apache.org/jira/browse/LUCENE-7938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16136570#comment-16136570 ]
Karl Wright commented on LUCENE-7938: ------------------------------------- {quote} As we know, the bounds of this object are the points. No need to add the planes as they introduce numerical imprecision. {quote} [~ivera], unfortunately that is not true. This is a complex issue because planes that are *almost* but *not quite* coplanar define shapes that actually do have points on the opposite side of the world, within the precision limit of geo3d. Random tests picked this up and I had to introduce addIntersection() to deal with this situation, since I could not see a better way to handle very thin rectangles using planes. Polygons also have this issue. > Bounds of bounding box are not equal to bounding box > ---------------------------------------------------- > > Key: LUCENE-7938 > URL: https://issues.apache.org/jira/browse/LUCENE-7938 > Project: Lucene - Core > Issue Type: Bug > Reporter: Ignacio Vera > Assignee: Karl Wright > Priority: Minor > Attachments: LUCENE-7938-fix.patch, LUCENE-7938-test.patch > > > Hi, > It seems if I get the bounds of a BBox and I create a new bounding box, > sometimes both bounding box are not equal. It is a problem with precision. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org