Calculates a contour perimeter or a curve length.
The input is 2D point set, represented by CV_32SC2 or CV_32FC2 matrix.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic double ArcLength(
bool closed
)
Public Function ArcLength (
closed As Boolean
) As Double
public:
double ArcLength(
bool closed
)
member ArcLength :
closed : bool -> float
function ArcLength(closed);
Parameters
- closed
- Type: SystemBoolean
Indicates, whether the curve is closed or not
Return Value
Type:
Double
See Also