Curve.Extend Method (CurveEnd, Double, CurveExtensionStyle)

CurveExtend Method (CurveEnd, Double, CurveExtensionStyle)

Extends a curve by a specific length.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
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: Curve
A curve with extended ends or null on failure.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also