svoid markPoint(Graphics2D etc g, Pt etc p, Color color default Color.red, int size default 3) { fillRect(g, color, p.x-size/2, p.y-size/2, size, size); }