Table of Contents

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

data IEnumerable<Rect>

VectorOfRect(nuint)

Constructor

public VectorOfRect(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 Rect[] ToArray()

Returns

Rect[]