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

Implement ConvexHull for all geometry types #889

Merged
merged 1 commit into from
Aug 12, 2022
Merged

Implement ConvexHull for all geometry types #889

merged 1 commit into from
Aug 12, 2022

Conversation

michaelkirk
Copy link
Member

  • I agree to follow the project's code of conduct.
  • I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

Fixes #887

@@ -147,4 +106,32 @@ fn swap_remove_to_first<'a, T>(slice: &mut &'a mut [T], idx: usize) -> &'a mut T
}

#[cfg(test)]
mod test;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should your new tests be added to the existing test.rs file? https://github.com/georust/geo/blob/main/geo/src/algorithm/convex_hull/test.rs This might be unused after your changes

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, good catch! I'm not sure what I was thinking. I've addressed this in a fixup commit (975a28d) which I'll squash and then merge.

Copy link
Member

@frewsxcv frewsxcv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides my comment, lgtm!

@michaelkirk
Copy link
Member Author

bors r=frewsxcv

@bors
Copy link
Contributor

bors bot commented Aug 12, 2022

Build succeeded:

@bors bors bot merged commit 0d5091a into main Aug 12, 2022
@bors bors bot deleted the mkirk/convex-hull branch August 12, 2022 17:28
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.

Implement ConvexHull for GeometryCollection
2 participants