Click or drag to resize
CurveCreateMeanCurve Method (Curve, Curve, Double)
Constructs a mean, or average, curve from two curves.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public static Curve CreateMeanCurve(
	Curve curveA,
	Curve curveB,
	double angleToleranceRadians
)

Parameters

curveA
Type: Rhino.GeometryCurve
A first curve.
curveB
Type: Rhino.GeometryCurve
A second curve.
angleToleranceRadians
Type: SystemDouble
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)

Return Value

Type: Curve
The average curve, or null on error.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf curveA or curveB are null.
See Also