MeshFaceList.GetConnectedFaces Method

MeshFaceListGetConnectedFaces 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)
Syntax
public int[] GetConnectedFaces(
	int faceIndex,
	double angleRadians,
	bool greaterThanAngle
)
Public Function GetConnectedFaces ( 
	faceIndex As Integer,
	angleRadians As Double,
	greaterThanAngle As Boolean
) As Integer()

Parameters

faceIndex
Type: SystemInt32
face index to start from
angleRadians
Type: SystemDouble
angle to use for comparison of what is connected
greaterThanAngle
Type: SystemBoolean
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

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also