the radius r of circle is 1/2 the diameter D.​