SimpleArrayGeometryPointer
Wrapper for a C++ ON_SimpleArray<ON_Geometry*>* or ON_SimpleArray<constant ON_Geometry*>. If you are not writing C++ code, then this class is not for you.
Inheritance Hierarchy
System.Object
Rhino.Runtime.InteropWrappers.SimpleArrayGeometryPointer
Namespace: Rhino.Runtime.InteropWrappers
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public class SimpleArrayGeometryPointer : IDisposable
The SimpleArrayGeometryPointer type exposes the following members.
Constructors
Name
Description
Public Method
SimpleArrayGeometryPointer.
Initializes a new SimpleArrayGeometryPointer instance.
Public Method
SimpleArrayGeometryPointer(IEnumerable)
Expects all of the items in the IEnumerable to be GeometryBase types
Public Method
SimpleArrayGeometryPointer(IEnumerable.GeometryBase.)
Create an ON_SimpleArray<ON_Geometry*> filled with items in geometry
Methods
Name
Description
Public Method
ConstPointer
Gets the constant (immutable) pointer of this array.
Public Method
Dispose.
Actively reclaims unmanaged resources that this instance uses.
Protected Method
Dispose(Boolean)
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.
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected Method
Finalize
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
(Overrides Object.Finalize..)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected Method
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public Method
NonConstPointer
Gets the non-constant pointer (for modification) of this array.
Public Method
ToNonConstArray
Copies the unmanaged array to a managed counterpart.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object.)