Click or drag to resize

MeshFaceListToIntArray Method (Boolean, ListInt32)

Copies all of the faces to a linear array of indices. Clean-up of vertex indices if replacedIndices is a valid List<int> ///

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int[] ToIntArray(
	bool asTriangles,
	ref List<int> replacedIndices
)

Parameters

asTriangles
Type: SystemBoolean
If set to true as triangles.
replacedIndices
Type: System.Collections.GenericListInt32
List is populated with vertex indices that were replaced with 0. If replacedIndices is null there will be no cleanup

Return Value

Type: Int32
The int array. This method never returns null.
See Also