Obtain the convex hull from the point collection

C# | Visual Basic | Visual C++ |
public static MCvPoint2D32f[] ConvexHull<D>( IEnumerable<Point<D>> points, ORIENTATION orientation ) where D : new(), IComparable
Public Shared Function ConvexHull(Of D As {New, IComparable}) ( _ points As IEnumerable(Of Point(Of D)), _ orientation As ORIENTATION _ ) As MCvPoint2D32f()
public: generic<typename D> where D : gcnew(), IComparable static array<MCvPoint2D32f>^ ConvexHull( IEnumerable<Point<D>^>^ points, ORIENTATION orientation )

- D
- The type of depth for the point

- points (IEnumerable<(Of <(Point<(Of <(D>)>)>)>))
- The points to find convex hull from
- orientation (ORIENTATION)
- The orientation of the convex hull

The array of points that forms the convex hull