Emgu CV Library Documentation
cvGetSeqElem Method (seq, index)
NamespacesEmgu.CVCvInvokecvGetSeqElem(IntPtr, Int32)

Finds the element with the given index in the sequence and returns the pointer to it. If the element is not found, the function returns 0. The function supports negative indices, where -1 stands for the last sequence element, -2 stands for the one before last, etc. If the sequence is most likely to consist of a single sequence block or the desired element is likely to be located in the first block, then the macro CV_GET_SEQ_ELEM( elemType, seq, index ) should be used, where the parameter elemType is the type of sequence elements ( CvPoint for example), the parameter seq is a sequence, and the parameter index is the index of the desired element. The macro checks first whether the desired element belongs to the first block of the sequence and returns it if it does, otherwise the macro calls the main function GetSeqElem. Negative indices always cause the cvGetSeqElem call. The function has O(1) time complexity assuming that number of blocks is much smaller than the number of elements.
Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr cvGetSeqElem(
	IntPtr seq,
	int index
Public Shared Function cvGetSeqElem ( _
	seq As IntPtr, _
	index As Integer _
) As IntPtr
static IntPtr cvGetSeqElem(
	IntPtr seq, 
	int index
seq (IntPtr)
index (Int32)
Index of element
Return Value
the pointer to the element with the given index in the sequence

Assembly: Emgu.CV (Module: Emgu.CV) Version: (