RhinoCommon API
MeshFaceListRemoveAt Method (Int32, Boolean) |
Removes a face from the mesh.
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.6
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
If true, removes vertices that are no longer referenced.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If index is < 0 or >= Count. |