x = 0;y = 0; r = 0.5; th = 0:pi/50:2*pi;xunit = r * cos(th) + x;yunit = r * sin(th) + y;h = plot(xunit, yunit);poly1 = polyshape([0 0 1 1],[1 0 0 1]);plot(poly1)
I want to find the area of intersection (in units) between a circle and polygon as given above. Any help would be greatly appreciated. TIA.
Best Answer