Click or drag to resize

BrepEdgeListMergeEdge Method

Merge adjacent edges to a specified edge recursively. A pair of adjacent edges in a Brep are mergable if the angle between them is less than tolerance and the valence of the shared vertex is 2.

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int MergeEdge(
	int edgeIndex,
	double angleTolerance
)

Parameters

edgeIndex
Type: SystemInt32
>Index of edge to merge.
angleTolerance
Type: SystemDouble
The maximum allowable difference of angle in radian between adjacent edges that can be merged.

Return Value

Type: Int32
The number of edges merged.
Version Information

Rhino for Windows

Supported in: 6.27
See Also