I need to write a program which can output the intersection coordinates(points) of a circle and a line given the center and the radius of the circle and also the two points of a line. If there are no intersections it should say so. Any suggestions?
felix.mumba.9
0
Newbie Poster
Recommended Answers
Jump to PostHi felix, welcome.
It is always handy to study the formulas behind line and circle intersection, before beginning to program this. See this example.
It is just a matter now of inputting some …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.