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)
Since: 5.0
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.
See Also