is_intersection_segment_segment

compas.geometry.is_intersection_segment_segment(s1, s2, tol=1e-06)[source]

Verifies if two segments intersect.

Parameters
Returns

bool – True if the segments intersect in one point. False if the segments are skew, parallel or lie on top of each other.