SimpleArraySubDPointer

Wrapper for a C++ ON_SimpleArray<ON_SubD*> or ON_SimpleArray<constant ON_SubD*> If you are not writing C++ code then this class is not for you.

Constructors

SimpleArraySubDPointer

#Since v7.14
Initializes a new SimpleArraySubDPointer instance.
public SimpleArraySubDPointer()

Finalizer

~SimpleArraySubDPointer

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

Properties

Count

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

Methods

Add

#Since v7.14
Adds a subd to the list.
public void Add(
subd,
A subd to add.
asConst
Whether this subd should be treated as non-modifiable.
)

ConstPointer

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

Dispose

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

Dispose

#
protected virtual void Dispose(
disposing
)

NonConstPointer

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

ToNonConstArray

#Since v7.14
Copies the unmanaged array to a managed counterpart.
public SubD[] ToNonConstArray()
The managed array.