M_Rhino_Geometry_Collections_MeshTopologyEdgeList_GetEdgeIndex - mcneel/rhinocommon-api-docs GitHub Wiki

MeshTopologyEdgeList.GetEdgeIndex Method

Returns index of edge that connects topological vertices. returns -1 if no edge is found.

Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public int GetEdgeIndex(
	int topologyVertex1,
	int topologyVertex2
)

VB

Public Function GetEdgeIndex ( 
	topologyVertex1 As Integer,
	topologyVertex2 As Integer
) As Integer

Parameters

 

topologyVertex1
Type: System.Int32
The first topology vertex index.
topologyVertex2
Type: System.Int32
The second topology vertex index.

Return Value

Type: Int32
The edge index.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

MeshTopologyEdgeList Class
Rhino.Geometry.Collections Namespace

⚠️ **GitHub.com Fallback** ⚠️