geosphere icon indicating copy to clipboard operation
geosphere copied to clipboard

Reimplement gcIntersect() and gcIntersectBearing() to use GeographicLib

Open casa-henrym opened this issue 3 years ago • 0 comments

I raised issue #5 back in 2020 about the failure of gcIntersectBearing() when there is an attempt to take the acos() of a value ever so slightly greater than 1 or ever so slightly less than -1. I am still using my hacked-up version of gcIntersectBearing() but I would now like to request that these functions be superceded by versions that call Charles Karney's GeographicLib.

Charles has provided the C++ code for the intersection of two geodesics in the GeographicLib forum.

Unfortunately my C++ skills are nonexistent otherwise I'd be submitting a pull request!

casa-henrym avatar Oct 14 '22 02:10 casa-henrym