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)
Syntaxpublic int DeleteFaces(
IEnumerable<int> faceIndexes,
bool compact
)
Public Function DeleteFaces (
faceIndexes As IEnumerable(Of Integer),
compact As Boolean
) As Integer
Parameters
- faceIndexes
- Type: System.Collections.GenericIEnumerableInt32
An array containing all the face indices to be removed. - compact
- Type: SystemBoolean
Delete any unreferenced objects from arrays, reindexes as needed, and shrinks arrays to minimum required size.
Return Value
Type:
Int32The number of faces deleted on success.
Version InformationRhino for Windows
Supported in: 6.8
See Also