| Cv2ArcLength Method (IEnumerablePoint2f, Boolean) |
Calculates a contour perimeter or a curve length.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public 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
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[Missing <returns> documentation for "M:OpenCvSharp.Cv2.ArcLength(System.Collections.Generic.IEnumerable{OpenCvSharp.Point2f},System.Boolean)"]
See Also