M_Rhino_Geometry_Collections_MeshFaceList_SetFace_2 - mcneel/rhinocommon-api-docs GitHub Wiki
Sets a quadrangular face at a specific index of the mesh.
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public bool SetFace(
int index,
int vertex1,
int vertex2,
int vertex3,
int vertex4
)
VB
Public Function SetFace (
index As Integer,
vertex1 As Integer,
vertex2 As Integer,
vertex3 As Integer,
vertex4 As Integer
) As Boolean
- index
- Type: System.Int32
A position in the list. - vertex1
- Type: System.Int32
The first vertex index. - vertex2
- Type: System.Int32
The second vertex index. - vertex3
- Type: System.Int32
The third vertex index. - vertex4
- Type: System.Int32
The fourth vertex index.
Type: Boolean
true if the operation succeeded, otherwise false.
Supported in: 6.0.16224.21491, 5D58w
MeshFaceList Class
SetFace Overload
Rhino.Geometry.Collections Namespace