Click or drag to resize

BrepJoinBreps Method (IEnumerableBrep, Double, Double)

Joins the breps in the input array at any overlapping edges to form as few as possible resulting breps. There may be more than one brep in the result array.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.3
Syntax
public static Brep[] JoinBreps(
	IEnumerable<Brep> brepsToJoin,
	double tolerance,
	double angleTolerance
)

Parameters

brepsToJoin
Type: System.Collections.GenericIEnumerableBrep
A list, an array or any enumerable set of breps to join.
tolerance
Type: SystemDouble
3d distance tolerance for detecting overlapping edges. When in doubt, use the document's model absolute tolerance.
angleTolerance
Type: SystemDouble
Angle tolerance, in radians, used for merging edges. When in doubt, use the document's model angle tolerance.

Return Value

Type: Brep
New joined breps on success, null on failure.
See Also