PointCollectionPolyLine Method (Point, Boolean) |
http://www.emgu.com
convert a series of System.Drawing.Point to LineSegment2D
Namespace:
Emgu.CV
Assembly:
Emgu.CV.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
Syntaxpublic 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
)
static member PolyLine :
points : Point[] *
closed : bool -> LineSegment2D[]
Parameters
- points
- Type: System.DrawingPoint
the array of points - closed
- Type: SystemBoolean
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:
LineSegment2Darray of LineSegment2D
See Also