BrepJoinBreps Method (IEnumerableBrep, Double, Double, ListInt32) |
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.5
Syntax public static Brep[] JoinBreps(
IEnumerable<Brep> brepsToJoin,
double tolerance,
double angleTolerance,
out List<int[]> indexMap
)
Public Shared Function JoinBreps (
brepsToJoin As IEnumerable(Of Brep),
tolerance As Double,
angleTolerance As Double,
<OutAttribute> ByRef indexMap As List(Of Integer())
) As Brep()
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.
- indexMap
- Type: System.Collections.GenericListInt32
List of integer arrays, one for each joined result, containing all input Brep indices that went into making each result.
Note, this can be null.
Return Value
Type:
BrepNew joined breps on success, null on failure.
See Also