http://www.emgu.com
convert a series of points to LineSegment2D

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

Syntax

C#
public static LineSegment2DF[] PolyLine(
	PointF[] points,
	bool closed
)
Visual Basic
Public Shared Function PolyLine ( 
	points As PointF(),
	closed As Boolean
) As LineSegment2DF()
Visual C++
public:
static array<LineSegment2DF>^ PolyLine(
	array<PointF>^ points, 
	bool closed
)
F#
static member PolyLine : 
        points : PointF[] * 
        closed : bool -> LineSegment2DF[] 

Parameters

points
Type: array<System.Drawing..::..PointF>[]()[][]
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

Type: array<LineSegment2DF>[]()[][]
array of LineSegment2D

See Also