Mail Archives: djgpp/1997/02/26/19:36:31
>The best (ie smallest) bounding circle can be calculated as follow :
>find the two points A and B in your set which are farthest from each
>other, the best circle has the middle of segment AB as its center, and
>half the distance between A and B as its radius.
This doesn't seem like it would work. If I have the following
triangle ABC:
A
/ \
/ \
/ \
P \
/ \
/ \
/ \
B---------------C
All sides are equal. So we take side AB to be the longest. By your
algorithm, P would be the center of the bounding circle, and the radius
would be half the length of AB. This circle would obviously not contain
the point C.
For this specific case, the best bounding circle is obviously centered
at the center of the triangle, not on one of the edges.
-Matt Schikore
schikore AT ccad DOT uiowa DOT edu
--
- Raw text -