static Pt pt_iround(double x, double y) { ret Pt(iround(x), iround(y)); } static Pt pt_iround(IDoublePt p) { ret p == null ?: pt_iround(p.x_double(), p.y_double()); }