M_Rhino_Geometry_Collections_MeshFaceList_GetConnectedFaces - mcneel/rhinocommon-api-docs GitHub Wiki
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
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()
- 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.
Type: Int32[]
list of connected face indices
Supported in: 6.0.16224.21491, 5D58w