//now get transforms and expand the rectangle to accomodate
Point p = sphtrans(close,center,radius,percent,type);
expandr.expand(p[0],p[1]);
//now get transforms and expand the rectangle to accomodate
Point p = sphtrans(close,center,radius,percent,type);
expandr.expand(p[0],p[1]);