Translate the ray origin
Ray translate({double x = 0, double y = 0}) { return Ray(origin.translate(x, y), direction); }