Click or drag to resize

MeshUnsafeLockVertexPoint3dArray Method

Retrieves a pointer to the raw mesh vertex array, which uses coordinates defined with double precision floating point numbers, or throws an exception if none is available.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.20
public Point3d* VertexPoint3dArray(
	out int length


Type: SystemInt32
The length of the array. This value is returned by reference (out in C#).

Return Value

Type: Point3d*
The beginning of the vertex array. Item 0 is the first vertex, and item length-1 is the last valid one. If no array is available, null is returned.
InvalidOperationExceptionThe mesh does not use double precision vertices.
When running this method for writing and if the mesh has also a single precision array, the array is synchronized if the pointer to the single precision array was not requested. Otherwise, it is up to the caller to ensure that the mesh vertices are kept synchronized, by setting both arrays to the required values.
See Also