$P$

$P'$

\text{Pohybujte bodom }P'.

\text{ Upravte polohu modrých bodov}.

A = (-2.5, 3.16)
P = (-2.06, -0.3)
C = (1.38, 1.36)
D = (2.76, 4.02)
E = (0.46, 4.58)
poly1, a, b, c, d, e = Polygon(A, P, C, D, E)
P' = (5.12, -0.28)
u = Vector(P, P')
A' = Translate(A, u)
B' = Translate(P, u)
C' = Translate(C, u)
D' = Translate(D, u)
E' = Translate(E, u)
poly1', a', b', c', d', e' = Polygon(A', B', C', D', E')