RhinoCommon API
MeshTopologyEdgeListGetConnectedFaces Method (Int32, Boolean) |
Gets indices of faces connected to an edge.
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

public int[] GetConnectedFaces( int topologyEdgeIndex, out bool[] faceOrientationMatchesEdgeDirection )
Public Function GetConnectedFaces ( topologyEdgeIndex As Integer, <OutAttribute> ByRef faceOrientationMatchesEdgeDirection As Boolean() ) As Integer()
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: Int32An array of face indices the edge borders. This might be empty on error.
