Skip to content

Reimplement gcIntersect() and gcIntersectBearing() to use GeographicLib #10

@casa-henrym

Description

@casa-henrym

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions