Simetria axial
Author: Pep Bujosa

Resposta

Triangles

Quadrilàters

A1 = (0, 3)
A2 = (-2, -3)
r = Line(A1, A2)
A = (-4, 4)
B = (-5, 2)
C = (-2, -1)
poly1, c, a_1, b = Polygon(A, B, C)
A' = Mirror(A, r)
B' = Mirror(B, r)
C' = Mirror(C, r)
poly1', c', a', b' = Polygon(A', B', C')
d = Segment(A, A')
e = Segment(B, B')
f = Segment(C, C')
g = false
h = false
i = false
D = (-2, 1)
poly2, a_2, b_1, c_1, d_1 = Polygon(A, B, C, D)
A'_1 = Mirror(A, r)
B'_1 = Mirror(B, r)
C'_1 = Mirror(C, r)
D' = Mirror(D, r)
poly2', a'_1, b'_1, c'_1, d' = Polygon(A'_1, B'_1, C'_1, D')
a = Segment(D, D')