SimpleArrayDouble

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

Constructors

SimpleArrayDouble

#Since v5.0
public SimpleArrayDouble()
Initializes a new SimpleArrayDouble instance.

SimpleArrayDouble

#Since v5.0
public SimpleArrayDouble(IEnumerable<double> items)
Initializes a new SimpleArrayDouble instance, with items.
items (IEnumerable<double>)

Finalizer

~SimpleArrayDouble

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

Properties

Count

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

Methods

ConstPointer

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

Dispose

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

NonConstPointer

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

ToArray

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