Discrete Hausdorff distances exposed in C API
|Reported by:||vincentp||Owned by:||pramsey|
|Severity:||Feature Request||Keywords:||hausdorff distance capi patch|
The new hausdorff distance operations should be exposed in CAPI so apps can get their hands on it.
Find a patch attached. There are two hausdorff distance methods in the C++ API : the normal one and another with densification. I made them available as :
GEOSHausdorffDistance and GEOSHausdorffDistanceDensify
I modified the capi unit test as well, but please review it as I am not sure of the way it works.
Find attached as well a sample c program calling the c api.
Please be indulgent with this first patch as I am not at ease yet with the GEOS library.