[ 
https://issues.apache.org/jira/browse/LUCENE-8587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16717159#comment-16717159
 ] 

Karl Wright commented on LUCENE-8587:
-------------------------------------

Thinking about it, it seems safest to me to serialize and deserialize all five 
GeoPoint values -- lat, lon, x, y, z.  If that's done then no modifications 
would be needed to GeoStandardCircle and GeoExactCircle, and we wouldn't need 
to guess at whether it's all going to work.  The downside is that the 
serialized size is going to grow by a factor of 2 -- but that may not be 
horrible.


> Self comparison bug in GeoComplexPolygon.equals method
> ------------------------------------------------------
>
>                 Key: LUCENE-8587
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8587
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial3d
>    Affects Versions: 7.1
>            Reporter: Zsolt Gyulavari
>            Assignee: Karl Wright
>            Priority: Major
>         Attachments: LUCENE-8587.patch
>
>
> GeoComplexPolygon.equals method checks equality with own testPoint1 field 
> instead of the other.testPoint1.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to