Skip to content

Add convex hull algorithm for 2D contours#4770

Merged
oitel merged 6 commits intomasterfrom
feature/convex_hull_contour2d
Jun 30, 2025
Merged

Add convex hull algorithm for 2D contours#4770
oitel merged 6 commits intomasterfrom
feature/convex_hull_contour2d

Conversation

@oitel
Copy link
Contributor

@oitel oitel commented Jun 30, 2025

No description provided.

@oitel oitel requested a review from Grantim June 30, 2025 13:07
MRMESH_API Mesh makeConvexHull( const PointCloud & in );

// computes the contour of convex hull from given input points
MRMESH_API Contour2f makeConvexHull( Contour2f points );
Copy link
Contributor

Choose a reason for hiding this comment

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

const Contour2f&

@oitel oitel merged commit 2fae599 into master Jun 30, 2025
23 of 25 checks passed
@oitel oitel deleted the feature/convex_hull_contour2d branch June 30, 2025 16:41
MaxRayskiy pushed a commit that referenced this pull request Sep 27, 2025
* Add convex hull algorithm for 2D contours

* Add unit tests

* Don't compute angle values

* Don't allocate additional array

* Fix assert

* Update VS project files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants