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)
public int[] ToIntArray(
	bool asTriangles,
	ref List<int> replacedIndices


Type: SystemBoolean
If set to true as triangles.
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