Skip to content

SubD.JoinSubDs (IEnumerable.SubD., Double, Boolean)

Public Class

Joins an enumeration of SubDs to form as few as possible resulting SubDs. There may be more than one SubD in the result array.

Namespace: Rhino.Geometry

Assembly: RhinoCommon (in RhinoCommon.dll)

**Since:**7.14

Syntax

public static SubD[] JoinSubDs(
IEnumerable<SubD> subdsToJoin,
double tolerance,
bool joinedEdgesAreCreases
)

Parameters

subdsToJoin

Type:System.Collections.Generic.IEnumerable. SubD.
An enumeration of SubDs to join.

tolerance

Type:System.Double
The join tolerance.

joinedEdgesAreCreases

Type:System.Boolean
If true, merged boundary edges will be creases. If false, merged boundary edges will be smooth.

Return Value

Type:. SubD.

Remarks

NOTE: All of the input SubDs are copied and added to the result array in one form or another. NOTE: Symmetry information is removed from newly joined SubDs.See also comments in SubD.JoinSubDs with the bPreserveSymmetry parameter.