An algorithm to find all the lines which are visible to a given point
Enter the point p(x, y) : 0 0
Enter the number of lines : 5
Enter the lines as x1 y1 x2 y2 :-
-6 2 -6 4
-5 -5 -5 5
-3 6 2 6
2 3 -1 -1
2 -6 -4 3
line 3
line 4
| Name | Name | Last commit date | ||
|---|---|---|---|---|