CurveExtend Method (CurveEnd, Double, CurveExtensionStyle) |
Extends a curve by a specific length.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public Curve Extend(
CurveEnd side,
double length,
CurveExtensionStyle style
)
Public Function Extend (
side As CurveEnd,
length As Double,
style As CurveExtensionStyle
) As Curve
Parameters
- side
- Type: Rhino.GeometryCurveEnd
Curve end to extend. - length
- Type: SystemDouble
Length to add to the curve end. - style
- Type: Rhino.GeometryCurveExtensionStyle
Extension style.
Return Value
Type:
CurveA curve with extended ends or null on failure.
See Also