MeshFaceList.GetConnectedFaces Method (Int32, Double, Boolean)

MeshFaceListGetConnectedFaces Method (Int32, Double, Boolean)

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)
Since: 5.6
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 considered connected.

Return Value

Type: Int32
list of connected face indices
See Also