overlapsWith

open fun overlapsWith(other: Segment2D<P>): Boolean(source)

Checks if two segments overlap (= are collinear and share one or more points).