M_Rhino_Geometry_Collections_MeshFaceList_GetConnectedFaces - mcneel/rhinocommon-api-docs GitHub Wiki

MeshFaceList.GetConnectedFaces Method

Find all connected face indices where adjacent face normals meet the criteria of angleRadians and greaterThanAngle

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

Syntax

C#

public int[] GetConnectedFaces(
	int faceIndex,
	double angleRadians,
	bool greaterThanAngle
)

VB

Public Function GetConnectedFaces ( 
	faceIndex As Integer,
	angleRadians As Double,
	greaterThanAngle As Boolean
) As Integer()

Parameters

 

faceIndex
Type: System.Int32
face index to start from
angleRadians
Type: System.Double
angle to use for comparison of what is connected
greaterThanAngle
Type: System.Boolean
If true angles greater than or equal to are considered connected. If false, angles less than or equal to are considerd connected.

Return Value

Type: Int32[]
list of connected face indices

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

MeshFaceList Class
Rhino.Geometry.Collections Namespace

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