def translate(self, x=0, y=0):
        newargs = []
        for a in self.args:
            if isinstance(a, GeometryEntity):
                newargs.append(a.translate(x, y))
            else:
                newargs.append(a)
        return self.func(*newargs)
Shift the object by adding to the x,y-coordinates the values x and y.
dataset/ETHPy150Open sympy/sympy/sympy/geometry/entity.py/GeometryEntity.translate