RhinoCommon API
CurveCreateMeanCurve Method (Curve, Curve) |
Constructs a mean, or average, curve from two curves.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public static Curve CreateMeanCurve( Curve curveA, Curve curveB )
Public Shared Function CreateMeanCurve ( curveA As Curve, curveB As Curve ) As Curve
Parameters
- curveA
- Type: Rhino.GeometryCurve
A first curve. - curveB
- Type: Rhino.GeometryCurve
A second curve.
Return Value
Type: CurveThe average curve, or null on error.

Exception | Condition |
---|---|
ArgumentNullException | If curveA or curveB are null. |

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8