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

Tessellator: isIntersectingPolygon method skip polygon edges

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 7.6, 8.0
    • Fix Version/s: 7.6, 8.0
    • Component/s: modules/sandbox
    • Labels:
      None
    • Lucene Fields:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: