Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8559

Tessellator: isIntersectingPolygon method skip polygon edges

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 7.6, 8.0
    • 7.6, 8.0
    • modules/sandbox
    • None
    • New

    Description

      The following condition seems wrong:

      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
      }

      Any node with the same X or Y is skipped. 

      Attachments

        1. LUCENE-8559.patch
          3 kB
          Ignacio Vera

        Activity

          People

            ivera Ignacio Vera
            ivera Ignacio Vera
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: