Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)
Return the point after applying the transformation described
by the 3x3 Matrix, ``matrix``.

See Also
========
geometry.entity.rotate
geometry.entity.scale
geometry.entity.translate

src/s/y/sympy-HEAD/sympy/geometry/tests/test_geometry.py   sympy(Download)
def test_transform():
    p = Point(1, 1)
    assert p.transform(rotate(pi/2)) == Point(-1, 1)
    assert p.transform(scale(3, 2)) == Point(3, 2)
    assert p.transform(translate(1, 2)) == Point(2, 3)