T_Rhino_Geometry_MeshUnsafeLock - mcneel/rhinocommon-api-docs GitHub Wiki

MeshUnsafeLock Class

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

Inheritance Hierarchy

System.Object
  Rhino.Geometry.MeshUnsafeLock
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public sealed class MeshUnsafeLock : IDisposable

VB

Public NotInheritable Class MeshUnsafeLock
	Implements IDisposable

The MeshUnsafeLock type exposes the following members.

Methods

 

Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
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.)
Public method Release Releases the lock and updates the underlying unmanaged data structures.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method VertexPoint3fArray Retrieves a pointer to the raw mesh vertex array, which uses coordinates defined with single precision floating point numbers.
  Back to Top

Remarks

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

Supported in: 6.0.16224.21491

See Also

Reference

Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️