Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Scale the coordinates of the Point by multiplying by
``x`` and ``y`` after subtracting ``pt`` -- default is (0, 0) --
and then adding ``pt`` back again (i.e. ``pt`` is the point of
reference for the scaling).

See Also
========

rotate, translate
(more...)

src/s/y/sympy-HEAD/sympy/geometry/tests/test_geometry.py   sympy(Download)
    assert Point.is_concyclic(p4, p4 * 2, p4 * 3) is False
 
    assert p4.scale(2, 3) == Point(2, 3)
    assert p3.scale(2, 3) == p3
 
    assert p.rotate(pi/2, p) == p
    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 hash(s1) == hash(s2)
    p11 = p10.scale(2, 2)
    assert s1.is_similar(Segment(p10, p11))
    assert s1.is_similar(r1) is False