M_Rhino_Geometry_Curve_CreateMeanCurve_1 - 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,
double angleToleranceRadians
)
VB
Public Shared Function CreateMeanCurve (
curveA As Curve,
curveB As Curve,
angleToleranceRadians As Double
) As Curve
- curveA
- Type: Rhino.Geometry.Curve
A first curve. - curveB
- Type: Rhino.Geometry.Curve
A second curve. - angleToleranceRadians
- Type: System.Double
The angle tolerance, in radians, used to match kinks between curves. If you are unsure how to set this parameter, then either use the document's angle tolerance RhinoDoc.AngleToleranceRadians, or the default value (RhinoMath.UnsetValue)
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