is_intersection_segment_box

compas_model.geometry.is_intersection_segment_box(segment, box)

Determine whether a segment intersects a box.

Parameters:
segmentcompas.geometry.Line

The segment.

boxcompas.geometry.Box

The box.

Returns:
bool

True if the segment intersects the box. False otherwise.