M_Rhino_Geometry_Curve_CreateMeanCurve - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs a mean, or average, curve from two curves.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Curve CreateMeanCurve(
Curve curveA,
Curve curveB
)
VB
Public Shared Function CreateMeanCurve (
curveA As Curve,
curveB As Curve
) As Curve
- curveA
- Type: Rhino.Geometry.Curve
A first curve. - curveB
- Type: Rhino.Geometry.Curve
A second curve.
Type: Curve
The average curve, or null on error.
Exception | Condition |
---|---|
ArgumentNullException | If curveA or curveB are null. |
Supported in: 6.0.16224.21491, 5D58w