Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-12924: SpherePoint.offset should work at the poles and for negative offsets #302

Merged
merged 1 commit into from
Jan 8, 2018

Commits on Jan 5, 2018

  1. Allow SpherePoint.bearingTo and offset at poles

    For a SpherePoint constructed from a 3-vector, set longitude to 0
    if at a pole and document the same. This allows bearingTo and offset
    to be well defined for all cases.
    
    Also change operator== to compare longitude even at the poles,
    since different longitudes result in different behavior for bearingTo
    and offset even at the poles.
    r-owen committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    1e32488 View commit details
    Browse the repository at this point in the history