The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_math1
Class: None
Declaration: function SegmentsIntersect (Seg1P1,Seg1P2,Seg2P1,Seg2P2: TPointDouble): boolean;

The function SegmentsIntersect tests whether two line segments defined by their respective endpoints Seg1P1, Seg1P2 and Seg2P1, Seg2P2 intersect. The function returns TRUE if the two segments intersect.

Last Update: 2017-Apr-19