1

2

Glide Reflection

A = (-3.6167101427862054, 1.8350505586875079)
B = (-1.4280942680959066, 4.038112331402434)
u = Vector(A, B)
C = (0.11348089655029489, 1.8356963409840008)
f = Line(C, u)
D = (-4.049062053309121, -1.78626052462693)
E = (-4.847750215528245, -0.6971122154453402)
F = (-4.423416879023589, 0.03221070667203446)
G = (-4.355788753518159, -0.53135700587321)
H = (-3.719014258134123, 0.6793906510921676)
poly1, d, e, f_1, g, h = Polygon(D, E, F, G, H)
D' = Mirror(D, f)
E' = Mirror(E, f)
F' = Mirror(F, f)
G' = Mirror(G, f)
H' = Mirror(H, f)
poly1', d', e', f', g', h' = Polygon(D', E', F', G', H')
D'' = Translate(D', u)
E'' = Translate(E', u)
F'' = Translate(F', u)
G'' = Translate(G', u)
H'' = Translate(H', u)
poly1'', d'', e'', f'', g'', h'' = Polygon(D'', E'', F'', G'', H'')
D'_1 = Translate(D, u)
E'_1 = Translate(E, u)
F'_1 = Translate(F, u)
G'_1 = Translate(G, u)
H'_1 = Translate(H, u)
poly1'_1, d'_1, e'_1, f'_1, g'_1, h'_1 = Polygon(D'_1, E'_1, F'_1, G'_1, H'_1)
a = 0 (slider from 0 to 1, step 0.01)
b = 0 (slider from 0 to 1, step 0.01)
u' = Dilate(u, a, A)
D'_2 = Translate(D, u')
E'_2 = Translate(E, u')
F'_2 = Translate(F, u')
G'_2 = Translate(G, u')
H'_2 = Translate(H, u')
poly1'_2, d'_2, e'_2, f'_2, g'_2, h'_2 = Polygon(D'_2, E'_2, F'_2, G'_2, H'_2)
D''' = Dilate(D'', b, D'_2)
E''' = Dilate(E'', b, E'_2)
F''' = Dilate(F'', b, F'_2)
G''' = Dilate(G'', b, G'_2)
H''' = Dilate(H'', b, H'_2)
poly2, d''', e''', f''', g''', h''' = Polygon(D''', E''', F''', G''', H''')