RhinoCommon API
MeshFaceListRemoveAt Method (Int32, Boolean) |
Removes a face from the mesh.
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll)
public void RemoveAt( int index, bool compact )
Public Sub RemoveAt ( index As Integer, compact As Boolean )
Parameters
- index
- Type: SystemInt32
The index of the face that will be removed. - compact
- Type: SystemBoolean
Delete any unreferenced objects from arrays, reindexes as needed, and shrinks arrays to minimum required size.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If index is < 0 or >= Count. |