http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Calculates length or curve as sum of lengths of segments between subsequent points
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public static double cvArcLength( IntPtr curve, MCvSlice slice, int isClosed ) |
Visual Basic |
---|
Public Shared Function cvArcLength ( _ curve As IntPtr, _ slice As MCvSlice, _ isClosed As Integer _ ) As Double |
Visual C++ |
---|
public: static double cvArcLength( IntPtr curve, MCvSlice slice, int isClosed ) |
Parameters
- curve
- Type: System..::..IntPtr
Sequence or array of the curve points
- slice
- Type: Emgu.CV.Structure..::..MCvSlice
Starting and ending points of the curve, by default the whole curve length is calculated
- isClosed
- Type: System..::..Int32
Indicates whether the curve is closed or not. There are 3 cases: isClosed=0 - the curve is assumed to be unclosed. isClosed>0 - the curve is assumed to be closed. isClosed<0 - if curve is sequence, the flag CV_SEQ_FLAG_CLOSED of ((CvSeq*)curve)->flags is checked to determine if the curve is closed or not, otherwise (curve is represented by array (CvMat*) of points) it is assumed to be unclosed.
Return Value
[Missing <returns> documentation for "M:Emgu.CV.CvInvoke.cvArcLength(System.IntPtr,Emgu.CV.Structure.MCvSlice,System.Int32)"]