Merges all possible Brep edges. Edges across kinks cannot be merged.
A pair of adjacent edges in a Brep are mergeable if the angle between them is less than tolerance and the valence of the shared vertex is 2.
RhinoCommon (in RhinoCommon.dll)
public int MergeAllEdges(
Public Function MergeAllEdges (
angleTolerance As Double
) As Integer
- Type: SystemDouble
The maximum allowable difference of angle in radian between adjacent edges that can be merged.
The number of edges merged.