Talk:Circles of given radius through two points: Difference between revisions

r=0 => p1=p2 (or no solution)
(→‎More special cases: forgot sqrt; a circle with zero radius is a circle)
(r=0 => p1=p2 (or no solution))
Line 1:
===More special cases===
There may be more special cases. If p1==p2 and r==0, there is one unique answere that's a zero radius circle. If tow points are separated by exactly double the radius, there's only one answer. The latter can be treated as two identical circles, but then so can the former.
<lang python>from math import sqrt
Line 26:
:Hmm r==0.0 might be treated as an exception too as it is the circle as a point, (If you don't want points). --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 05:02, 17 April 2013 (UTC)
:: A circle with zero radius is still a perfectly valid circle, I don't see why it should be excluded. --[[User:Ledrug|Ledrug]] ([[User talk:Ledrug|talk]]) 19:55, 17 April 2013 (UTC)
::: But it does require the points to be coincident or it has no solution. –[[User:Dkf|Donal Fellows]] ([[User talk:Dkf|talk]]) 20:28, 17 April 2013 (UTC)
Anonymous user