Ignacio Vera created LUCENE-8559:
------------------------------------

             Summary: Tessellator: isIntersectingPolygon method skip polygon 
edges
                 Key: LUCENE-8559
                 URL: https://issues.apache.org/jira/browse/LUCENE-8559
             Project: Lucene - Core
          Issue Type: Bug
          Components: modules/sandbox
    Affects Versions: 7.6, master (8.0)
            Reporter: Ignacio Vera


The following condition seems wrong:
{code:java}
if(node.getX() != x0 && node.getY() != y0 && nextNode.getX() != x0
    && nextNode.getY() != y0 && node.getX() != x1 && node.getY() != y1
    && nextNode.getX() != x1 && nextNode.getY() != y1) {
   //check intersection
}{code}
Any node with the same X or Y is skipped. 



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