SimpleArrayBrepPointer

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

Constructors

SimpleArrayBrepPointer

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

Finalizer

~SimpleArrayBrepPointer

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

Properties

Count

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

Methods

Add

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

ConstPointer

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

Dispose

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

Dispose

#
protected virtual void Dispose(
disposing
)

NonConstPointer

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

ToNonConstArray

#Since v5.0
Copies the unmanaged array to a managed counterpart.
public Brep[] ToNonConstArray()
The managed array.