Searches element in sequence
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static T SeqSearch<T>( CvSeq seq, T elem, CvCmpFunc<T> func, bool isSorted, out int elemIdx ) where T : struct, new()
Parameters
- seq
- Type: OpenCvSharpCvSeq
The sequence - elem
- Type: T
The element to look for - func
- Type: OpenCvSharpCvCmpFuncT
The comparison function that returns negative, zero or positive value depending on the elements relation - isSorted
- Type: SystemBoolean
Whether the sequence is sorted or not. - elemIdx
- Type: SystemInt32
Output parameter; index of the found element.
Type Parameters
- T
- Element type
Return Value
Type: T[Missing <returns> documentation for "M:OpenCvSharp.Cv.SeqSearch``1(OpenCvSharp.CvSeq,``0,OpenCvSharp.CvCmpFunc{``0},System.Boolean,System.Int32@)"]
See Also