News

Hmmm. . .the easiest way I can think of is to turn the circle into a polygon, clip using the rectangle, and then calculate the remaining area.
Step 1 − Start the algorithm Step 2 − Declare variables: p, q (circle centre coordinates), x, y (current point), r (radius), d (decision variable) Step 3 − Input the radius r Step 4 − Calculate ...