Professional Documents
Culture Documents
27-Line Segments - Properties, Intersection, Sweeping Lines-22-03-2024
27-Line Segments - Properties, Intersection, Sweeping Lines-22-03-2024
Case-1: P0 is (0,0).
P0 = x0,y0; P1 = x1,y1; P2 = x2,y2;
In the below figure, P0 is (0,0).
Example:
Question-1: Apply cross product theorem.
Case 1:
Find the direction of P3 with respect to P1P2 and direction of P4 with
respect to P1P2.
Direction means, whether in clockwise direction or anti-clockwise
direction?
P1P2 is anti-clock-wise for P3 and clockwise for P4. They are on
opposite sides and they have chance that they might intersect.
Case 2:
Let us consider the below case.
P1 is anti-clockwise and P2 is clockwise with respect to P3P4.