MeanCurve

Creates a mean, or average, curve from two curves.

Syntax

Rhino.MeanCurve (strCurve0, strCurve1 [, dblTolerance])

Parameters

strCurve0

Required.  String.  The first curve object's identifier.

strCurve1

Required.  String.  The second curve object's identifier.

dblTolerance

Optional.  Number.  The angle tolerance, used to match kinks between curves.

Returns

String

The identifier of the new curve object if successful.

Null

If not successful, or on error.

Example

Const rhObjectCurve = 4

Dim strCurve0, strCurve1

strCurve0 = Rhino.GetObject("Select the first curve", rhObjectCurve)

strCurve1 = Rhino.GetObject("Select the second curve", rhObjectCurve)

Rhino.MeanCurve strCurve0, strCurve1

Also See

TweenCurve