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
public SimpleArrayBrepPointer()
Initializes a new SimpleArrayBrepPointer instance.

Finalizer

~SimpleArrayBrepPointer

#
~SimpleArrayBrepPointer()
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 breps in this array.

Methods

Add

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

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.

Dispose

#
protected virtual void Dispose(bool disposing)
disposing (bool)

NonConstPointer

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

ToNonConstArray

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