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
Since the _local_to_world() and _world_to_local() return tuples, what do you think about having a class that implements points instead of passing x, y arguments? They could also carry a flag for world or local coordinates, allowing the functions to take either pre-translated or untranslated coords.
The text was updated successfully, but these errors were encountered:
Hmm- I'd prefer not to introduce an extra layer to interact with the interface, though an absolute point would be convenient would be convenient for this.
For my Track class (#3) I added an optional argument world=false so that coordinates can be specified in default local or optionally world frame. Adding such an option to each method of painter is doable, but might be as invasive as a point class.
Since the
_local_to_world()
and_world_to_local()
return tuples, what do you think about having a class that implements points instead of passingx, y
arguments? They could also carry a flag forworld
orlocal
coordinates, allowing the functions to take either pre-translated or untranslated coords.The text was updated successfully, but these errors were encountered: