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

SimpleArrayLine

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

Finalizer

~SimpleArrayLine

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

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.

NonConstPointer

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

ToArray

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