SimpleArrayFloat

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

Constructors

SimpleArrayFloat

#Since v7.0
Initializes a new SimpleArrayFloat class.
public SimpleArrayFloat()

SimpleArrayFloat

#Since v7.0
Initializes a new SimpleArrayFloat class
public SimpleArrayFloat(
values
initial set of integers to add to the array
)

SimpleArrayFloat

#Since v7.0
Initializes a new SimpleArrayFloat class. Initial size of the array - all values are set to zero.
public SimpleArrayFloat(
initialSize
)

SimpleArrayFloat

#Since v7.0
Initializes a new SimpleArrayFloat with the contents of another SimpleArrayFloat.
public SimpleArrayFloat(
SimpleArrayFloat
other
)

Finalizer

~SimpleArrayFloat

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

Properties

Count

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

Methods

Array

#Since v7.0
Return the raw data.
public nint Array()

ConstPointer

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

CopyTo

#Since v7.0
Copies the contents of a SimpleArrayFloat into another SimpleArrayFloat.
public void CopyTo()

Dispose

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

NonConstPointer

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

ToArray

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