StdVectorFloat

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

Constructors

StdVectorFloat

#Since v7.26
public StdVectorFloat()
Initializes a new StdVectorFloat class.

StdVectorFloat

#Since v7.26
public StdVectorFloat(IEnumerable<float> values)
Initializes a new SimpleArrayFloat class
values (IEnumerable<float>)initial set of integers to add to the array

StdVectorFloat

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

StdVectorFloat

#
[CLSCompliant(false)] public StdVectorFloat(ulong initialSize)
Initializes a new StdVectorFloat class. Initial size of the array - all values are set to zero.
initialSize (ulong)

Finalizer

~StdVectorFloat

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

Properties

Count

#Since v7.26
[CLSCompliant(false)] public ulong Count { get; }
Gets the amount of elements in this array.

Methods

ConstPointer

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

CopyTo

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

Dispose

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

Memory

#Since v7.26
public nint Memory()
Return the raw data.

NonConstPointer

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

ToArray

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