-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
The project method for the Proj struct accepts an inverse parameter. No such parameter exists in the transform and transformed methods of the Transform trait. Internally, those methods are calling the convert and convert_array methods on Proj, which also do not have an inverse parameter. However, the proj_trans function, which is called by these conversion methods, accepts a direction parameter which is currently set to PJ_DIRECTION_PJ_FWD.
My suggestion would be to introduce a breaking change and, in doing so, also improve the naming:
- Rename the
convertandconvert_arraymethods inProjtotransformandtransform_array, and add a boolean ìnverse` parameter. - Add a boolean
inverseparameter to thetransformandtransformedmethods in theTransformtrait
Metadata
Metadata
Assignees
Labels
No labels