Skip to content
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

A class for fixes / coordinates? #49

Open
tjdodwell opened this issue Sep 14, 2021 · 1 comment
Open

A class for fixes / coordinates? #49

tjdodwell opened this issue Sep 14, 2021 · 1 comment

Comments

@tjdodwell
Copy link

Discussion about should we produce a class for a "Coordinate". A "fix" is then an immutable coordinate with a unique str identifier.

This would allow us to define members functions which perform operations on such coordinates. For example "x.get_distance(y)" or "x.get_bearing_to(y)" these are currently being put into airtools (https://github.com/project-bluebird/airtools/pull/8), but perhaps naturally live with a geometric object on which they act.

@radka-j
Copy link

radka-j commented Sep 14, 2021

I really like this idea! I will make it part of the refactor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants