M_Rhino_Geometry_MeshNgon_Create - mcneel/rhinocommon-api-docs GitHub Wiki

MeshNgon.Create Method

Constructs an ngon from lists of mesh vertex and face indexes.

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

Syntax

C#

public static MeshNgon Create(
	IList<int> meshVertexIndexList,
	IList<int> meshFaceIndexList
)

VB

Public Shared Function Create ( 
	meshVertexIndexList As IList(Of Integer),
	meshFaceIndexList As IList(Of Integer)
) As MeshNgon

Parameters

 

meshVertexIndexList
Type: System.Collections.Generic.IList(Int32)
A list of mesh vertex indexes that define the outer boundary of the ngon. The mesh vertex indexes must be in the correct order.
meshFaceIndexList
Type: System.Collections.Generic.IList(Int32)
A list of mesh face indexes that define the interior of the ngon. The mesh face indexes may be in any order.

Return Value

Type: MeshNgon
[Missing documentation for "M:Rhino.Geometry.MeshNgon.Create(System.Collections.Generic.IList{System.Int32},System.Collections.Generic.IList{System.Int32})"]

Version Information

Supported in: 6.0.16224.21491

See Also

Reference

MeshNgon Class
Rhino.Geometry Namespace

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