Class VectorOfRect
- Namespace
- OpenCvSharp.Internal.Vectors
- Assembly
- OpenCvSharp.dll
public class VectorOfRect : DisposableCvObject, ICvPtrHolder, IStdVector<Rect>, IDisposable
- Inheritance
-
VectorOfRect
- Implements
- Inherited Members
Constructors
VectorOfRect()
Constructor
public VectorOfRect()
VectorOfRect(IEnumerable<Rect>)
Constructor
public VectorOfRect(IEnumerable<Rect> data)
Parameters
dataIEnumerable<Rect>
VectorOfRect(nuint)
Constructor
public VectorOfRect(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 Rect[] ToArray()
Returns
- Rect[]