Good suggestion, vividsnow. The ASCII explanation was nice, but I
particularly like the idea of a Monte Carlo estimate. :-)


On Wed, Jan 23, 2013 at 6:04 AM, vividsnow <[email protected]> wrote:

> hi, there is good answer
> http://stackoverflow.com/questions/622287/area-of-intersection-between-circle-and-rectangle
>
> On 23 January 2013 11:43, Karl Glazebrook <[email protected]> wrote:
>
>> Any computer graphics experts know the optimal way to calculate the area
>> overlap of a circle (x,y,R) with a square (x1,x2,L) ? C or PDL code
>> accepted!
>>
>>
>> Karl
>>
>>
>>
>> _______________________________________________
>> Perldl mailing list
>> [email protected]
>> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>>
>
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>
>


-- 
 "Debugging is twice as hard as writing the code in the first place.
  Therefore, if you write the code as cleverly as possible, you are,
  by definition, not smart enough to debug it." -- Brian Kernighan
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to