http://www.emgu.com
convert a series of System.Drawing.Point to LineSegment2D

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public static LineSegment2D[] PolyLine(
	Point[] points,
	bool closed
)
Visual Basic
Public Shared Function PolyLine ( _
	points As Point(), _
	closed As Boolean _
) As LineSegment2D()
Visual C++
public:
static array<LineSegment2D>^ PolyLine(
	array<Point>^ points, 
	bool closed
)

Parameters

points
Type: array<System.Drawing..::..Point>[]()[][]
the array of points
closed
Type: System..::..Boolean
if true, the last line segment is defined by the last point of the array and the first point of the array

Return Value

array of LineSegment2D

See Also