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