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

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

It appears GeoStandardCircle and GeoExactCircle require lat/lon as arguments, 
so in order to make this work I'd need to make some changes there as well, 
including adding constructors that accept GeoPoints.

I'm also a bit queasy about the fact that after deserialization the point 
methods getLatitude() and getLongitude() will return different values than they 
would before serialization.  I don't see any obvious place where this might 
blow up but it will take more analysis to be sure.


> 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