Separating planar segments by a supporting line #
Multiplication by a complex number followed by imaginary part is a real-linear functional. Suppose this functional, applied to displacement from the first segment's initial endpoint, vanishes on that segment and has the same strict sign at both endpoints of another. Then the segments are disjoint. This is a convenient signed half-plane test for polygonal boundaries with reentrant corners.
A segment on a supporting line can meet a segment with one endpoint on the line and the other off the line only at the endpoint on the line.
If the interior vertices of a finite polyline lie strictly on one side of a supporting line and its endpoints lie on the line, an edge meets a segment on the line only at a polyline endpoint.
A segment with one endpoint at or above a horizontal line and the other strictly above it can meet the closed lower half-plane only at the first endpoint.