Click or drag to resize

Cv2ArcLength Method (IEnumerablePoint2f, Boolean)

Calculates a contour perimeter or a curve length.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static double ArcLength(
	IEnumerable<Point2f> curve,
	bool closed
)

Parameters

curve
Type: System.Collections.GenericIEnumerablePoint2f
The input vector of 2D points.
closed
Type: SystemBoolean
Indicates, whether the curve is closed or not.

Return Value

Type: Double
See Also