ClassArrayOnObjRef
Represents a wrapper to an unmanaged "array" (list) of ON_ObjRef instances.
Wrapper for a C++ ON_ClassArray of ON_ObjRef
Constructors
public ClassArrayOnObjRef()
Initializes a new ClassArrayOnObjRef instance.
Initializes a new instances from a set of ObjRefs
Parameters:
| objrefs (IEnumerable<ObjRef>) | An array, a list or any enumerable set of Rhino object references. |
Finalizer
~ClassArrayOnObjRef
#~ClassArrayOnObjRef()
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
Properties
Methods
Adds an ObjRef to the list.
Parameters:
| objref (ObjRef) | An ObjRef to add. |
public nint ConstPointer()
Gets the constant (immutable) pointer of this array.
Returns: The constant pointer.
public void Dispose()
Actively reclaims unmanaged resources that this instance uses.
public nint NonConstPointer()
Gets the non-constant pointer (for modification) of this array.
Returns: The non-constant pointer.
Copies the unmanaged array to a managed counterpart.
Returns: The managed array.