SimpleArrayInterval

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

Constructors

SimpleArrayInterval

#Since v5.0
public SimpleArrayInterval()
Initializes a new SimpleArrayInterval class.

SimpleArrayInterval

#Since v9.0
public SimpleArrayInterval(IEnumerable<Interval> intervals)
Create an array of intervals
intervals (IEnumerable<Interval>)

Finalizer

~SimpleArrayInterval

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

Methods

Add

#Since v6.0
public void Add(Interval interval)
Adds a new Interval at the end of this array.
interval (Interval)

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 Interval[] ToArray()
Returns the managed counterpart of the unmanaged array.
The managed array.