MeshFaceListGetConnectedFaces Method |
Rhino 5 for Windows
Find all connected face indices where adjacent face normals meet
the criteria of angleRadians and greaterThanAngle
Namespace: Rhino.Geometry.CollectionsAssembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.30000.17 (5.13.60913.21340)
Syntaxpublic 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
See Also