Ignacio Vera created LUCENE-9218:
------------------------------------

             Summary: XYGeometries should use floats instead of doubles
                 Key: LUCENE-9218
                 URL: https://issues.apache.org/jira/browse/LUCENE-9218
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Ignacio Vera


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to