You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, it seems rhumbBearing returns NaN for certain coordinates. I'm not calling this directly but just trying to rotate a polygon & stepped through while debugging. bearing works but transformRotate uses rhumbBearing.
I found that there is a problem in the calculateRhumbBearing function: when I try to apply rotation with arguments from (pivot) [325, 212.5] and to (pointCoords) [375.5, 313], then phi1 becomes 3.7 and phi2 becomes 5.5, then the logarithm argument in the expression deltaPsi is equal -0.75, i.e. less than zero!
Hi, it seems
rhumbBearing
returnsNaN
for certain coordinates. I'm not calling this directly but just trying to rotate a polygon & stepped through while debugging.bearing
works buttransformRotate
usesrhumbBearing
.repro code:
Thanks!
The text was updated successfully, but these errors were encountered: