Emgu CV Library Documentation
Line2DFitting<(Of <(D>)>) Method (points, type)
NamespacesEmgu.CVPointCollectionLine2DFitting<(Of <(D>)>)(IEnumerable<(Of <(Point<(Of <(D>)>)>)>), DIST_TYPE)

www.emgu.com/wiki
Fit a line to the points collection
Declaration Syntax
C#Visual BasicVisual 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
)
Generic Template Parameters
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)"]

Parameters
points (IEnumerable<(Of <(Point<(Of <(D>)>)>)>))
The points to be fitted
type (DIST_TYPE)
The type of the fitting
Return Value
A 2D line

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.3.0.0 (1.3.0.0)