SimpleArrayCurvePointer

Wrapper for a C++ ON_SimpleArray of ON_Curve* or constant ON_Curve*. If you are not writing C++ code, then you can ignore this class.

Constructors

SimpleArrayCurvePointer

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

SimpleArrayCurvePointer

#Since v5.0
public SimpleArrayCurvePointer(IEnumerable<Curve> curves)
Initializes a new SimpleArrayCurvePointer instance, from a set of input curves.
curves (IEnumerable<Curve>)A list, an array or any collection of curves that implements the enumerable interface.

Finalizer

~SimpleArrayCurvePointer

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

Methods

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)
For derived class implementers.

This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.

You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.

Also, you must call the base virtual method within your overriding method.

disposing (bool)true if the call comes from the Dispose() method; false if it comes from the Garbage Collector finalizer.

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 Curve[] ToNonConstArray()
Copies the unmanaged array to a managed counterpart.
The managed array.