CvSeqInsertT Method OpenCvSharp Class Library
Inserts element in sequence middle

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

public static T SeqInsert<T>(
	CvSeq seq,
	int beforeIndex,
	T element
)
where T : struct, new()

Parameters

seq
Type: OpenCvSharpCvSeq
Sequence.
beforeIndex
Type: SystemInt32
Index before which the element is inserted. Inserting before 0 (the minimal allowed value of the parameter) is equal to cvSeqPushFront and inserting before seq->total (the maximal allowed value of the parameter) is equal to cvSeqPush.
element
Type: T
Inserted element.

Type Parameters

T
Element type

Return Value

Type: T
Inserted element.
See Also

Reference