I am writing a computer program to plot a multi-segment path following the user's mouse movements. The user will choose one of 3 segment types: Line, Arc or Curve (Bezier). Each new segment will join tangentially to the preceding segment. My question is: how do I calculate the the centre, radius and sweep angle of of an arc starting tangentially to the preceding segment and passing through the user defined end point?
Points P1, P2 and P3 are known. I need to calculate C, R and Θ ?
Points P1, P2 and P3 are known. I need to calculate C, R and Θ ?