% --- start of displayed preamble in the book ---
input featpost3Dplus2D
% --- end of displayed preamble in the book ---
defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
color gammacnt;
numeric newradius,radius,aux,i,numc,foc,lc;
path conepath, latpath;
pen thickp;