GM 20. Reconstitution
Author: Frédéric Chanez

Dimensions parallélogramme

Dimensions rectangle

C = (12, 4)
B = (9, 1)
b = Segment(B, C)
A = (2, 1)
d = Line(A, b)
a = Segment(A, B)
c = Line(C, a)
D = Intersect(c, d)
e = OrthogonalLine(D, c)
E = Intersect(e, a)
f = Segment(E, B)
g = OrthogonalLine(B, f)
F = Intersect(c, g)
j = Segment(D, F)
G = Point(j)
h = OrthogonalLine(G, c)
H = Intersect(h, f)
poly1, b_1, c_1, g_1, h_1 = Polygon(B, C, G, H)
I = (9, 1)
u = Vector(B, I)
B' = Translate(B, u)
C' = Translate(C, u)
G' = Translate(G, u)
H' = Translate(H, u)
poly1', b', c', g', h' = Polygon(B', C', G', H')
K = Intersect(h, a)
i = Segment(K, G)
poly2, k, g_2, d_1, a_1 = Polygon(K, G, D, A)
poly3, a_2, b_2, c_2, d_2 = Polygon(A, B, C, D)
l = Segment(B, C)
m = Segment(D, C)
n = Segment(D, A)
p = Segment(A, B)
o = false
q = Segment(H, G)
r = Segment(H', I)
s = Segment(G', H')
t = Segment(A, H)
v = false