-
Notifications
You must be signed in to change notification settings - Fork 203
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
LatLonSpherical.intersection() - rounding errors lead to φ3=NaN #71
Comments
I think a better option would be to clamp the value supplied to
Test:
As far as I can see, this gives correct values. |
henrythasler
added a commit
to henrythasler/Leaflet.Geodesic
that referenced
this issue
Dec 1, 2019
Ok, that works for me. Thanks! |
chrisveness
added a commit
that referenced
this issue
Feb 13, 2020
Fixed in v2.2.1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Action
Add the following test case to the
intersection
group inlatlon-spherical-tests.js
:Expected behavior
I don't know... something around the south pole or no solution at all?
Observed behavior
φ3=NaN
Workaround
The text was updated successfully, but these errors were encountered: