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

XYGeometries should use floats instead of doubles

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 8.5
    • None
    • None
    • 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

              ivera Ignacio Vera
              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