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

Planes constructed with two points are wrong when points are close

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.7, 7.3, 8.0
    • modules/spatial3d
    • None
    • New

    Description

      Whenever a plane is constructed with two points (and the center of the planet), and those points are close to each other,it might happen that the final plane does not contain all points used for the construction. The issue seems to happen when the resulting magnitude of the normal vector of the new plane (calculated using cross product) is lower that 1e-5.

      This is a follow up of issue LUCENE-8133.

      Attachments

        1. LUCENE-8136.patch
          4 kB
          Ignacio Vera
        2. LUCENE-8136.patch
          3 kB
          Ignacio Vera
        3. LUCENE-8136-RandomTest.patch
          3 kB
          Ignacio Vera
        4. LUCENE-8136-RandomTest.patch
          2 kB
          Ignacio Vera

        Activity

          People

            kwright@metacarta.com Karl Wright
            ivera Ignacio Vera
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: