CvSeqSortT Method (CvSeq, CvCmpFuncT) OpenCvSharp Class Library
Sorts sequence element using the specified comparison function

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

public static void SeqSort<T>(
	CvSeq seq,
	CvCmpFunc<T> func
)
where T : struct, new()

Parameters

seq
Type: OpenCvSharpCvSeq
The sequence to sort
func
Type: OpenCvSharpCvCmpFuncT
The comparison function that returns negative, zero or positive value depending on the elements relation (see the above declaration and the example below) - similar function is used by qsort from C runtime except that in the latter userdata is not used

Type Parameters

T
Element type
See Also

Reference