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
The documentation for transformRotate says angle: of rotation (along the vertical axis), from North in decimal degrees, negative clockwise and all rotations follow the right-hand rule (which here means positive = counterclockwise, right?).
The documentation for transformRotate says
angle: of rotation (along the vertical axis), from North in decimal degrees, negative clockwise
andall rotations follow the right-hand rule
(which here means positive = counterclockwise, right?).But the example in http://turfjs.org/docs/#transformRotate shows that a positive angle (10 degrees in the example) rotates the triangle clockwise.
(And this would be consistent with the "bearing" parameter for some other Turf.js functions, which explicitly say
positive clockwise
).Which is the intended behavior here?
(btw, turf/ellipse has the same description for its "angle" parameter, and it uses transformRotate internally).
The text was updated successfully, but these errors were encountered: