CvSeqTSearch Method (T, CvCmpFuncT, Boolean, Int32) OpenCvSharp Class Library
Searches element in sequence (cvSeqSearch).

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public virtual T Search(
	T elem,
	CvCmpFunc<T> func,
	bool isSorted,
	out int elemIdx
)

Parameters

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.

Return Value

Type: T

[Missing <returns> documentation for "M:OpenCvSharp.CvSeq`1.Search(`0,OpenCvSharp.CvCmpFunc{`0},System.Boolean,System.Int32@)"]

See Also

Reference