Line circle intersection

From Rosetta Code
Revision as of 03:46, 4 March 2020 by rosettacode>Molo32 (Created page with "Implement a method that takes as a parameter: * starting point of line * point where line ends * center point of the circle * circle radius return 2 intersection points")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Implement a method that takes as a parameter:

  • starting point of line
  • point where line ends
  • center point of the circle
  • circle radius

return 2 intersection points