Class ReadOnlyArray2D<T>
Readonly rectangular array (T[,])
Inheritance
System.Object
ReadOnlyArray2D<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OpenCvSharp.Internal.Util
Assembly: OpenCvSharp.dll
Syntax
public class ReadOnlyArray2D<T>
Type Parameters
Name | Description |
---|---|
T |
Constructors
| Improve this Doc View SourceReadOnlyArray2D(T[,])
Constructor
Declaration
public ReadOnlyArray2D(T[, ] data)
Parameters
Type | Name | Description |
---|---|---|
T[,] | data |
Properties
| Improve this Doc View SourceItem[Int32, Int32]
Indexer
Declaration
public ref readonly T this[int index0, int index1] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index0 | |
System.Int32 | index1 |
Property Value
Type | Description |
---|---|
T |
Length
Gets the total number of elements in all the dimensions of the System.Array.
Declaration
public int Length { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceGetBuffer()
Returns internal buffer
Declaration
public T[, ] GetBuffer()
Returns
Type | Description |
---|---|
T[,] |
GetLength(Int32)
Gets a 32-bit integer that represents the number of elements in the specified dimension of the System.Array.
Declaration
public int GetLength(int dimension)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | dimension |
Returns
Type | Description |
---|---|
System.Int32 |