POV-Ray : Newsgroups : povray.advanced-users : Finding point outside circles : Re: Finding point outside circles Server Time
2 Nov 2024 07:23:18 EDT (-0400)
  Re: Finding point outside circles  
From: Simen Kvaal
Date: 11 Feb 2000 10:56:07
Message: <38a43117@news.povray.org>
>No. Without loss of generality we assume that all circles are pairwise
>different. (If two circles are identical, we remove one of them.)
>Since there exists a point that lies inside all circles, two of them
>intersect in two points. There are N circles and therefore N*(N-1)/2
>unordered pairs of circles. This may lead to up to N*(N-1) intersections.
>

But most of these intersections are not interesting, because they are
obscured by other circles. On the _perimeter_ of the big buch of circles,
there are a maximum og N+1 points to check.


Try to draw circles on a paper so that all of them overlap at some point,
and see what happens. How many points around the edge of the figure do you
need to count?

>> It sould not be difficult to locate those points, checking the distance
to P
>> and chose the one(s) closest.
>
>The closest intersection point may not be the correct solution. It may
>lie inside another (third) circle.
>

No, because all the intersection points in question are outside all the
circles. (See above.)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.