PointCollectionPolyLine Method (Point, Boolean) |
http://www.emgu.com
convert a series of System.Drawing.Point to LineSegment2D
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
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