RhinoCommon API
MeshTopologyEdgeListCollapseEdge Method |
Replaces a mesh edge with a vertex at its center and update adjacent faces as needed.
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool CollapseEdge( int topologyEdgeIndex )
Public Function CollapseEdge ( topologyEdgeIndex As Integer ) As Boolean
Parameters
- topologyEdgeIndex
- Type: SystemInt32
An index of a topology edge in TopologyEdges.
Return Value
Type: Booleantrue if successful.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14