MeshUnsafeLock Class
Click or drag to resize

MeshUnsafeLock Class

Permits access to the underlying mesh raw data structures in an unsafe way.
Inheritance Hierarchy

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
public sealed class MeshUnsafeLock : IDisposable

The MeshUnsafeLock type exposes the following members.

Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodRelease
Releases the lock and updates the underlying unmanaged data structures.
Public methodToString (Inherited from Object.)
Public methodVertexPoint3fArray
Retrieves a pointer to the raw mesh vertex array, which uses coordinates defined with single precision floating point numbers.
This lock object needs to be disposed before using the Mesh in other calculations and this can be achieved with the using keyword (Using in VB.Net).
Version Information

Rhino for Windows

Supported in: 6.7
See Also