Click or drag to resize

MeshTopologyEdgeListGetConnectedFaces Method (Int32, Boolean)

Gets indices of faces connected to an edge.

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int[] GetConnectedFaces(
	int topologyEdgeIndex,
	out bool[] faceOrientationMatchesEdgeDirection
)

Parameters

topologyEdgeIndex
Type: SystemInt32
An index of a topology edge that is queried.
faceOrientationMatchesEdgeDirection
Type: SystemBoolean
An array of Boolean values that explains whether each face direction matches the direction of the specified edge.

Return Value

Type: Int32
An array of face indices the edge borders. This might be empty on error.
Version Information

Rhino for Mac

Supported in: 5.4 WIP

Rhino for Windows

Supported in: 6.1 BETA
See Also