Opened 15 years ago
Closed 15 years ago
#264 closed task (fixed)
Discrete Hausdorff distances exposed in C API
| Reported by: | vincentp | Owned by: | pramsey |
|---|---|---|---|
| Priority: | minor | Milestone: | 3.2.0 |
| Component: | C API | Version: | main |
| Severity: | Feature Request | Keywords: | hausdorff distance capi patch |
| Cc: |
Description
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.
Attachments (2)
Change History (5)
by , 15 years ago
| Attachment: | hausdorff_capi.diff added |
|---|
by , 15 years ago
| Attachment: | hausdorff_capi_example.tbz added |
|---|
example of using geos capi hausdorff method
comment:1 by , 15 years ago
| Owner: | removed |
|---|
Unassign, to be reviewed by someone (and commited hopefully).
comment:2 by , 15 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
I will attempt to work on this, but for me #270 is a blocker right now.
comment:3 by , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Committed to trunk at r2604, thanks!

patch against trunk to expose hausdorff methods in capi