0

I am trying to find the coordinate of Z1 where the curve line intersect the rectangle. Given that I have the coordinate of center rectangle, center of the circle and circle circumference.

enter image description here

I have find this website but I don't have the angle Finding points on a rectangle at a given angle

Community
  • 1
  • 1
Zheng Xian
  • 310
  • 1
  • 3
  • 13

1 Answers1

0

Just look at the code on this site, for the intersection of a Q-bezier and a line segment: calculating intersection point of quadratic bezier curve. Then just apply this check to all 4 sides of the rectangle.

Community
  • 1
  • 1