M_Rhino_Geometry_Curve_JoinCurves_2 - mcneel/rhinocommon-api-docs GitHub Wiki
Joins a collection of curve segments together.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Curve[] JoinCurves(
IEnumerable<Curve> inputCurves,
double joinTolerance,
bool preserveDirection
)
VB
Public Shared Function JoinCurves (
inputCurves As IEnumerable(Of Curve),
joinTolerance As Double,
preserveDirection As Boolean
) As Curve()
- inputCurves
- Type: System.Collections.Generic.IEnumerable(Curve)
An array, a list or any enumerable set of curve segments to join. - joinTolerance
- Type: System.Double
Joining tolerance, i.e. the distance between segment end-points that is allowed. - preserveDirection
- Type: System.Boolean
If true, curve endpoints will be compared to curve startpoints.If false, all start and endpoints will be compared and copies of input curves may be reversed in output.
Type: Curve[]
An array of joint curves. This array can be empty.
Exception | Condition |
---|---|
ArgumentNullException | If inputCurves is null. |
Supported in: 6.0.16224.21491, 5D58w