Table of Contents

Class ReadOnlyArray2D<T>

Namespace
OpenCvSharp.Internal.Util
Assembly
OpenCvSharp.dll

Readonly rectangular array (T[,])

public class ReadOnlyArray2D<T>

Type Parameters

T
Inheritance
ReadOnlyArray2D<T>
Inherited Members

Constructors

ReadOnlyArray2D(T[,])

Constructor

public ReadOnlyArray2D(T[,] data)

Parameters

data T[,]

Properties

this[int, int]

Indexer

public ref readonly T this[int index0, int index1] { get; }

Parameters

index0 int
index1 int

Property Value

T

Length

Gets the total number of elements in all the dimensions of the System.Array.

public int Length { get; }

Property Value

int

Methods

GetBuffer()

Returns internal buffer

public T[,] GetBuffer()

Returns

T[,]

GetLength(int)

Gets a 32-bit integer that represents the number of elements in the specified dimension of the System.Array.

public int GetLength(int dimension)

Parameters

dimension int

Returns

int