[This is preliminary documentation and is subject to change.]
convert a series of System.Drawing.Point to LineSegment2D
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# | Visual Basic | Visual C++ |
public static LineSegment2D[] PolyLine( Point[] points, bool closed )
Public Shared Function PolyLine ( _ points As Point(), _ closed As Boolean _ ) As LineSegment2D()
public: static array<LineSegment2D>^ PolyLine( array<Point>^ points, bool closed )
Parameters
- points
- array<
Point
>[]()[]
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