static Pt untranslatePt(Pt a, Pt b) { if (a == null) ret b; ret new Pt(b.x-a.x, b.y-a.y); }