Table of Contents

Class VectorOfInt32

Namespace
OpenCvSharp.Internal.Vectors
Assembly
OpenCvSharp.dll
public class VectorOfInt32 : DisposableCvObject, ICvPtrHolder, IStdVector<int>, IDisposable
Inheritance
VectorOfInt32
Implements
Inherited Members

Constructors

VectorOfInt32()

Constructor

public VectorOfInt32()

VectorOfInt32(IEnumerable<int>)

Constructor

public VectorOfInt32(IEnumerable<int> data)

Parameters

data IEnumerable<int>

VectorOfInt32(nuint)

Constructor

public VectorOfInt32(nuint size)

Parameters

size nuint

Properties

ElemPtr

&vector[0]

public nint ElemPtr { get; }

Property Value

nint

Size

vector.size()

public int Size { get; }

Property Value

int

Methods

DisposeUnmanaged()

Releases unmanaged resources

protected override void DisposeUnmanaged()

ToArray()

Converts std::vector to managed array

public int[] ToArray()

Returns

int[]