Click or drag to resize

LineExtendThroughBox 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)
Syntax
public bool ExtendThroughBox(
	BoundingBox box,
	double additionalLength
)

Parameters

box
Type: Rhino.GeometryBoundingBox
Box to extend through.
additionalLength
Type: SystemDouble
Additional length to append at both sides of the line.

Return Value

Type: Boolean
true on success, false on failure.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also