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

XYGeometries should use floats instead of doubles

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.5
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      XYGeometries (XYPolygon, XYLine, XYRectangle & XYPoint) are a bit counter-intuitive. Where most of them are initialised using floats, when returning those values, they are returned as doubles. In addition XYRectangle seems to work on doubles.

      In this issue it is proposed to harmonise those classes to only work on floats. As these classes were just move to core and they have not been released, it should be ok to change its interfaces.

        Attachments

          Issue Links

            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:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h