static void calCenter(CirclesAndLines cal) { DoublePt c = calAverageCenter(cal); if (c == null) ret; calTranslate(cal, 0.5-c.x, 0.5-c.y); }