I want to calculate the Intersection area of circle and a polygon(not self intersecting). is there any good generalized algorithm.
Note: What I have tried: At first I try to solve the problem with Ray casting algorithm, where I will find the points in the circle and then identify the area. But it seems harder for me as the situation got harder and with complex test cases.
Input Specification : center(x,y) and radius of the circle. vertex of the polygon( {x1,y1} , {x2,y2} , {x3,y3} ... ).
UPDATE: The more I think I become confused. is it really possible to calculate this ?