overlapsWith

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

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