Convert a collection of N Points to an (N x k) array, k is determined by the dimension of the first point

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

- D
[Missing <typeparam name="D"/> documentation for "M:Emgu.CV.PointCollection.ToArray``1(System.Collections.Generic.IEnumerable{Emgu.CV.Point{``0}})"]

- points (IEnumerable<(Of <(Point<(Of <(D>)>)>)>))
- The points which will be converted to array

the array representing the collection of points