M_Rhino_Geometry_Line_ExtendThroughBox_1 - mcneel/rhinocommon-api-docs GitHub Wiki

Line.ExtendThroughBox Method (BoundingBox, Double)

Ensure the line extends all the way through a box. Note, this does not result in the shortest possible line that overlaps the box.

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

Syntax

C#

public bool ExtendThroughBox(
	BoundingBox box,
	double additionalLength
)

VB

Public Function ExtendThroughBox ( 
	box As BoundingBox,
	additionalLength As Double
) As Boolean

Parameters

 

box
Type: Rhino.Geometry.BoundingBox
Box to extend through.
additionalLength
Type: System.Double
Additional length to append at both sides of the line.

Return Value

Type: Boolean
true on success, false on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Line Structure
ExtendThroughBox Overload
Rhino.Geometry Namespace

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