convert a series of points to LineSegment2D
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)
Syntax
C# | Visual Basic | Visual C++ |
public static LineSegment2DF[] PolyLine( PointF[] points, bool closed )
Public Shared Function PolyLine ( _ points As PointF(), _ closed As Boolean _ ) As LineSegment2DF()
public: static array<LineSegment2DF>^ PolyLine( array<PointF>^ points, bool closed )
Parameters
- points
- array<PointF>[]()[][]
the array of points
- closed
- Boolean
if true, the last line segment is defined by the last point of the array and the first point of the array