SimpleArrayLine

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

Constructors

SimpleArrayLine

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

SimpleArrayLine

#Since v9.0
Initializes a new SimpleArrayLine instance from a set of lines
public SimpleArrayLine()

Finalizer

~SimpleArrayLine

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

Properties

Count

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

Methods

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()

NonConstPointer

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

ToArray

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