M_Rhino_Geometry_Collections_MeshTopologyEdgeList_GetEdgesForFace_1 - mcneel/rhinocommon-api-docs GitHub Wiki

MeshTopologyEdgeList.GetEdgesForFace Method (Int32, Boolean[])

Gets indices of edges that surround a given face.

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

Syntax

C#

public int[] GetEdgesForFace(
	int faceIndex,
	out bool[] sameOrientation
)

VB

Public Function GetEdgesForFace ( 
	faceIndex As Integer,
	<OutAttribute> ByRef sameOrientation As Boolean()
) As Integer()

Parameters

 

faceIndex
Type: System.Int32
A face index.
sameOrientation
Type: System.Boolean[]
Same length as returned edge index array. For each edge, the sameOrientation value tells you if the edge orientation matches the face orientation (true), or is reversed (false) compared to it.

Return Value

Type: Int32[]
A new array of indices to the topological edges that are connected with the specified face.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

MeshTopologyEdgeList Class
GetEdgesForFace Overload
Rhino.Geometry.Collections Namespace

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