Click or drag to resize

MeshFaceListDeleteFaces Method (IEnumerableInt32, Boolean)

Removes a collection of faces from the mesh without affecting the remaining geometry.

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.6
Syntax
public int DeleteFaces(
	IEnumerable<int> faceIndexes,
	bool compact
)

Parameters

faceIndexes
Type: System.Collections.GenericIEnumerableInt32
An array containing all the face indices to be removed.
compact
Type: SystemBoolean
If true, removes vertices that are no longer referenced.

Return Value

Type: Int32
The number of faces deleted on success.
See Also