Skip to content

An algorithm to find all the lines which are visible to a given point

Notifications You must be signed in to change notification settings

red97/circular-line-sweep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Circular line sweep

An algorithm to find all the lines which are visible to a given point

HOW TO GIVE INPUT

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

RESULT

line 3
line 4

About

An algorithm to find all the lines which are visible to a given point

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages