RhinoCommon API
LineExtendThroughBox Method (Box, 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)

public bool ExtendThroughBox( Box box, double additionalLength )
Public Function ExtendThroughBox ( box As Box, additionalLength As Double ) As Boolean
Parameters
- box
- Type: Rhino.GeometryBox
Box to extend through. - additionalLength
- Type: SystemDouble
Additional length to append at both sides of the line.
Return Value
Type: Booleantrue on success, false on failure.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8