SimpleArraySurfacePointer Class

SimpleArraySurfacePointer Class

Wrapper for a C++ ON_SimpleArray of ON_Surface* or const ON_Surface*. If you are not writing C++ code then this class is not for you.
Inheritance Hierarchy
SystemObject
  Rhino.Runtime.InteropWrappersSimpleArraySurfacePointer

Namespace:  Rhino.Runtime.InteropWrappers
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public class SimpleArraySurfacePointer : IDisposable
Public Class SimpleArraySurfacePointer
	Implements IDisposable

The SimpleArraySurfacePointer type exposes the following members.

Constructors
  NameDescription
Public methodSimpleArraySurfacePointer
Initializes a new SimpleArraySurfacePointer instance.
Top
Methods
  NameDescription
Public methodConstPointer
Gets the const (immutable) pointer of this array.
Public methodDispose
Actively reclaims unmanaged resources that this instance uses.
Protected methodDispose(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 methodEquals (Inherited from Object.)
Protected methodFinalize
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
(Overrides ObjectFinalize.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodNonConstPointer
Gets the non-const pointer (for modification) of this array.
Public methodToNonConstArray
Copies the unmanaged array to a managed counterpart. Elements are made non-const.
Public methodToString (Inherited from Object.)
Top
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also