SimpleArray2dex

Wrapper for ON_SimpleArray<ON_2dex>. If you are not writing C++ code then this class is not for you.

Constructors

SimpleArray2dex

#Since v6.0
public SimpleArray2dex()
Initializes a new SimpleArray2dex class.

SimpleArray2dex

#Since v6.0
public SimpleArray2dex(IEnumerable<IndexPair> values)
Initializes a new SimpleArray2dex class
values (IEnumerable<IndexPair>)initial set of integer pairs to add to the array

Finalizer

~SimpleArray2dex

#
~SimpleArray2dex()
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().

Properties

Count

#Since v6.0
public int Count { get; }
Gets the amount of elements in this array.

Methods

ConstPointer

#Since v6.0
public nint ConstPointer()
Gets the constant (immutable) pointer of this array.
The constant pointer.

Dispose

#Since v6.0
public void Dispose()
Actively reclaims unmanaged resources that this instance uses.

NonConstPointer

#Since v6.0
public nint NonConstPointer()
Gets the non-constant pointer (for modification) of this array.
The non-constant pointer.

ToArray

#Since v6.0
public IndexPair[] ToArray()
Returns the managed counterpart of the unmanaged array.
The managed array.