Jump to content

Total circles area: Difference between revisions

m
→‎optimized: changed a comment.
m (→‎optimized: changed some whitespace and comments, optimized the code for finding completely overlapping circles.)
m (→‎optimized: changed a comment.)
Line 2,624:
@y.j-@r.j < @y.k-@r.k | @x.j+@r.j > @x.k+@r.k then iterate
if verbose then say 'Circle ' right(j,w) ' is contained in circle ' right(k,w)
@r.j= 0; #in= #in + 1 /*elide this circle; and bump # in.*/
end /*k*/
end /*j*/ /* [↑] elided overlapping circle.*/
Cookies help us deliver our services. By using our services, you agree to our use of cookies.