CurveCreateMeanCurve Method (Curve, Curve, Double) |
Constructs a mean, or average, curve from two curves.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public static Curve CreateMeanCurve(
Curve curveA,
Curve curveB,
double angleToleranceRadians
)
Public Shared Function CreateMeanCurve (
curveA As Curve,
curveB As Curve,
angleToleranceRadians As Double
) As Curve
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:
CurveThe average curve, or null on error.
Exceptions See Also