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

Karl Wright commented on LUCENE-6578:
-------------------------------------

Ok, the nearest thing I can think of to what you may be suggesting is as 
follows:

- a distance calculator interface, with methods for computing plane distance 
and point distance
- six implementations of that interface, one for linear, normal, linear 
squared, normal squared, and arc
- GeoOutsideDistance then has two methods: one for GeoPoint + distcalcinterface 
and one for (x,y,z) + distcalcinterface

[~dsmiley] Is that what you were talking about?

> Geo3d: arcDistanceToShape() method may be useful
> ------------------------------------------------
>
>                 Key: LUCENE-6578
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6578
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial
>            Reporter: Karl Wright
>         Attachments: LUCENE-6578.patch, LUCENE-6578.revised.patch
>
>
> I've got an application that seems like it may need the ability to compute a 
> new kind of arc distance, from a GeoPoint to the nearest edge/point of a 
> GeoShape.  Adding this method to the interface, and corresponding 
> implementations, would increase the utility of the package for ranking 
> purposes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to