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
Syntaxpublic static double ArcLength(
IEnumerable<Point2f> curve,
bool closed
)
Public Shared Function ArcLength (
curve As IEnumerable(Of Point2f),
closed As Boolean
) As Double
public:
static double ArcLength(
IEnumerable<Point2f>^ curve,
bool closed
)
static member ArcLength :
curve : IEnumerable<Point2f> *
closed : bool -> float
OpenCvSharp.Cv2.ArcLength = function(curve, 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