RhinoCommon API
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)

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: Int32list of connected face indices

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14