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

Add 2D-Distance-Calci #2362

Closed
pavitraag opened this issue Jul 13, 2024 · 2 comments · Fixed by #2385
Closed

Add 2D-Distance-Calci #2362

pavitraag opened this issue Jul 13, 2024 · 2 comments · Fixed by #2385
Assignees

Comments

@pavitraag
Copy link
Contributor

pavitraag commented Jul 13, 2024

Is your feature request related to a problem? Please describe.

Yes, the feature request is related to the problem of calculating the distance between two points on a 2D plane. In many applications, such as computer graphics, robotics, geographic information systems, and machine learning, it is essential to determine the distance between two points accurately and efficiently.

Describe the solution you'd like

I would like a function that calculates the Euclidean distance between two points on a 2D plane. The function should take the coordinates of the two points as inputs and return the distance as output. The formula for the Euclidean distance (d) between two points ((x1, y1)) and ((x2, y2)) is given by:

d = sqrt{(x2 - x1)^2 + (y2 - y1)^2}

The implementation should be straightforward and efficient, ensuring that the calculation is performed quickly even for a large number of points.

Copy link

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

@pavitraag pavitraag changed the title Add 2D-Distance-Calculator Add 2D-Distance-Calci Jul 13, 2024
@pavitraag pavitraag mentioned this issue Jul 14, 2024
10 tasks
Copy link

Hello @pavitraag! Your issue #2362 has been closed. Thank you for your contribution!

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

Successfully merging a pull request may close this issue.

2 participants