-
Notifications
You must be signed in to change notification settings - Fork 32
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
coordinate transform utils have misleading mnemonics #157
Comments
Sorry, I got all confused :-) |
It is confusing and I'm open to changing names to make it less confusing.
|
@bertsky Will this be solved with your new |
It will become somewhat better, because all possible conversion options for all the different formats can be seen, and the docstrings are even more precise. But I have not touched the docstrings in We now have the following mnemonics:
Routines can either convert (without loss of information) or construct (with loss of information or loss of detail). |
The word points is used for very different ways of representing 8 coordinates for 4 corners:
points_from_xywh
: a list of integer coordinatespoints_from_x0y0x1y1
,xywh_from_points
andpolygon_from_points
: a string with space and comma as delimitersCan we please rename them to be more precise and consistent? I suggest
CoordType
attribute),Or maybe tltrbrbl instead of x0y0x1y0x1y1x0y1 (but also tlbr instead of x0y0x1y1).
The text was updated successfully, but these errors were encountered: