Fit a line to the points collection

C# | Visual Basic | Visual C++ |
public static Line2D<float> Line2DFitting<D>( IEnumerable<Point<D>> points, DIST_TYPE type ) where D : new(), IComparable
Public Shared Function Line2DFitting(Of D As {New, IComparable}) ( _ points As IEnumerable(Of Point(Of D)), _ type As DIST_TYPE _ ) As Line2D(Of Single)
public: generic<typename D> where D : gcnew(), IComparable static Line2D<float>^ Line2DFitting( IEnumerable<Point<D>^>^ points, DIST_TYPE type )

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

- points (IEnumerable<(Of <(Point<(Of <(D>)>)>)>))
- The points to be fitted
- type (DIST_TYPE)
- The type of the fitting

A 2D line