Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Shift the Point by adding x and y to the coordinates of the Point.

See Also
========

rotate, scale

Examples
========
(more...)

src/s/y/sympy-HEAD/sympy/geometry/tests/test_geometry.py   sympy(Download)
    p = Point(1, 1)
    assert p.scale(2, 3) == Point(2, 3)
    assert p.translate(1, 2) == Point(2, 3)
    assert p.translate(1) == Point(2, 1)
    assert p.translate(y=1) == Point(1, 2)
    assert p.translate(*p.args) == Point(2, 2)