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

Refactor distances between geometries | Part 2: closest_point #113

Closed
wants to merge 3 commits into from

Conversation

lassepe
Copy link
Contributor

@lassepe lassepe commented Apr 6, 2021

This is the second out of a sequence of PR's to address #98.

This PR is based on #112. Thus, in order to properly view the changes introduced here, it may make sense to diff against that branch.

This PR introduces

  • closest_point(metric, g, p) to compute the closest point in a geometry g to a given point p.
  • alters mindistance to use the closest_point to compute the minimum distance

@lassepe lassepe marked this pull request as draft April 6, 2021 08:29
@lassepe lassepe changed the title Refactor distances between geometries | Part 1: closest_point Refactor distances between geometries | Part 2: closest_point Apr 6, 2021
@juliohm juliohm closed this Apr 15, 2021
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