Click or drag to resize

Cv2ArcLength Method (InputArray, 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(
	InputArray curve,
	bool closed
)

Parameters

curve
Type: OpenCvSharpInputArray
The input vector of 2D points, represented by CV_32SC2 or CV_32FC2 matrix.
closed
Type: SystemBoolean
Indicates, whether the curve is closed or not.

Return Value

Type: Double
See Also