M_Rhino_Geometry_Collections_MeshNgonList_AddNgon - mcneel/rhinocommon-api-docs GitHub Wiki

MeshNgonList.AddNgon Method

Appends a new ngon to the end of the mesh ngon list.

Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public int AddNgon(
	MeshNgon ngon
)

VB

Public Function AddNgon ( 
	ngon As MeshNgon
) As Integer

Parameters

 

ngon
Type: Rhino.Geometry.MeshNgon
Ngon to add.

Return Value

Type: Int32
The index of the newly added ngon.

Version Information

Supported in: 6.0.16224.21491

See Also

Reference

MeshNgonList Class
Rhino.Geometry.Collections Namespace

⚠️ **GitHub.com Fallback** ⚠️