PointCollectionPolyLine Method (PointF, Boolean) |
http://www.emgu.com
convert a series of points to LineSegment2D
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World.NetStandard (in Emgu.CV.World.NetStandard.dll) Version: 1.0.0
Syntaxpublic 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
)
static member PolyLine :
points : PointF[] *
closed : bool -> LineSegment2DF[]
Parameters
- points
- Type: System.DrawingPointF
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:
LineSegment2DFarray of LineSegment2D
See Also