RhinoCommon API
MeshNgonListSetNgon Method |
Set an ngon in this list.
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.0
public void SetNgon( int index, MeshNgon ngon )
Public Sub SetNgon ( index As Integer, ngon As MeshNgon )
Parameters
- index
- Type: SystemInt32
An ngon index. - ngon
- Type: Rhino.GeometryMeshNgon
An ngon.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If index is negative or >= Count. |