M_Rhino_Geometry_Line_Extend - mcneel/rhinocommon-api-docs GitHub Wiki

Line.Extend Method

Extend the line by custom distances on both sides.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public bool Extend(
	double startLength,
	double endLength
)

VB

Public Function Extend ( 
	startLength As Double,
	endLength As Double
) As Boolean

Parameters

 

startLength
Type: System.Double
Distance to extend the line at the start point. Positive distance result in longer lines.
endLength
Type: System.Double
Distance to extend the line at the end point. Positive distance result in longer lines.

Return Value

Type: Boolean
true on success, false on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Line Structure
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️