RhinoCommon API
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)
Since: 5.0
public bool ExtendThroughBox( BoundingBox box, double additionalLength )
Public Function ExtendThroughBox ( box As BoundingBox, additionalLength As Double ) As Boolean
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: Booleantrue on success, false on failure.