Click or drag to resize

BrepJoinEdges Method

Joins two naked edges, or edges that are coincident or close together.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool JoinEdges(
	int edgeIndex0,
	int edgeIndex1,
	double joinTolerance,
	bool compact
)

Parameters

edgeIndex0
Type: SystemInt32
The first edge index.
edgeIndex1
Type: SystemInt32
The second edge index.
joinTolerance
Type: SystemDouble
The join tolerance.
compact
Type: SystemBoolean
If joining more than one edge pair and want the edge indices of subsequent pairs to remain valid, set to false. But then call Brep.Compact() on the final result.

Return Value

Type: Boolean
true if successful, false otherwise.
Version Information

Rhino for Windows

Supported in: 6.5
See Also