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
dataIEnumerable<int>
VectorOfInt32(nuint)
Constructor
public VectorOfInt32(nuint size)
Parameters
sizenuint
Properties
ElemPtr
&vector[0]
public nint ElemPtr { get; }
Property Value
Size
vector.size()
public int Size { get; }
Property Value
Methods
DisposeUnmanaged()
Releases unmanaged resources
protected override void DisposeUnmanaged()
ToArray()
Converts std::vector to managed array
public int[] ToArray()
Returns
- int[]