is_intersection_line_box

compas_model.geometry.is_intersection_line_box(line, box)

Determine whether a line intersects an oriented box.

Parameters:
linecompas.geometry.Line

The line.

boxcompas.geometry.Box

The box.

Returns:
bool

True if the line intersects the box. False otherwise.