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

Introduce getDistanceSquared for deprecated getDistance2 #21 #573

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

azoitl
Copy link
Contributor

@azoitl azoitl commented Sep 28, 2024

Having the squared distance between two points can be used often for simple sorting of points. It is more efficient then calculating the real distance. However the old getDistanc2's name was not very intuitive. With this change we have an appropriate replacement.

Addresses #21

Having the squared distance between two points can be used often for
simple sorting of points. It is more efficient then calculating the real
distance. However the old getDistanc2's name was not very intuitive.
With this change we have an appropriate replacement.

Addresses eclipse#21
@azoitl azoitl added this to the 3.22.0 milestone Sep 28, 2024
@ptziegler ptziegler merged commit c2f0cff into eclipse:master Sep 30, 2024
9 checks passed
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

Successfully merging this pull request may close these issues.

2 participants