mapbox / polylabel

A fast algorithm for finding the pole of inaccessibility of a polygon (in JavaScript and C++)
Other
1.44k stars 151 forks source link

Not an issue - I ported polylabel to C# to work with ESRI Polygons. #37

Closed cdc-dpbrown closed 6 years ago

cdc-dpbrown commented 6 years ago

Not an issue - I ported polylabel to C# to work with ESRI Polygons and was wondering if someone could lay an eye on my check-in (https://github.com/Epi-Info/Epi-Info-Community-Edition/commit/d7ef1a07771cf3422d1302639f3bf9f5405aff01) and clue me in where I may have gone wrong by inspection before I have to go into a major debug. Thank you. David

...best distance: -0.00777946996556627 found best -0.0478 after 10 probes found best -0.0393 after 18 probes num probes: 18 best distance: -0.0393367048984066 found best -0.1129 after 2 probes found best -0.0921 after 6 probes found best -0.0107 after 10 probes num probes: 10 best distance: -0.0107072800214816 found best -0.1414 after 14 probes found best -0.1232 after 18 probes found best -0.0968 after 22 probes found best -0.0015 after 22 probes num probes: 22 best distance: -0.00151480641263599 found best -0.0529 after 18 probes num probes: 18 best distance: -0.0528912840084305

image

mourner commented 6 years ago

Hey, unfortunately I'm not able to debug your port.

cdc-dpbrown commented 6 years ago

Never asked you to debug the port.