Quadrilateral makers
Author: Laurel Langford

Square maker

Rhombus maker

Rectangle maker

Parallelogram maker

Kite maker

Trapezoid maker

Quadrilateral maker

Quadrilaterals

A = (6.84, -3)
B = (8.58, -3)
a = Segment(A, B)
B' = Rotate(B, 90.0*°, A)
b = Segment(A, B')
A' = Rotate(A, 270.0*°, B)
poly1, a_1, b', a', b_1 = Polygon(A, B', A', B)
C = (11.14, 4.6)
D = (10.54, 2.7)
c = Segment(C, D)
E = Midpoint(C, D)
d = OrthogonalLine(E, c)
F = Point(d)
F' = Mirror(F, c)
poly2, c_1, f', d_1, f = Polygon(C, F', D, F)
G = (-2.9, 1.64)
H = (1.4, 1.58)
e = Segment(G, H)
g = OrthogonalLine(G, e)
I = Point(g)
u = Vector(G, I)
H' = Translate(H, u)
poly3, g_1, i, h', h = Polygon(G, I, H', H)
J = (6.9, 4.34)
K = (9.78, 4.38)
j = Segment(J, K)
L = (7.7, 5.28)
v = Vector(J, L)
K' = Translate(K, v)
poly4, j_1, l, k', k = Polygon(J, L, K', K)
M = (8.34, 3.42)
N = (8.44, 1.4)
m = Segment(M, N)
O = (9.32, 2.68)
O' = Mirror(O, m)
poly5, m_1, o', n, o = Polygon(M, O', N, O)
P = (8.36, -4.26)
Q = (11.12, -4.26)
p = Segment(P, Q)
R = (9.36, -2.88)
w = Vector(P, Q)
R' = Translate(R, w)
q = Ray(R, R')
S = Point(q)
poly6, p_1, q_1, s, r = Polygon(P, Q, S, R)
T = (10.4, 0.68)
U = (9.66, -0.76)
V = (11.76, -1.44)
W = (11.72, 0.28)
poly7, t, u_1, v_1, w_1 = Polygon(T, U, V, W)

Tool: RectMaker
Input: G, H
Output: e, h, h', i, g_1, I, H'

Rectangle maker

e_1 = Segment(G, H)
e = Segment(G, H)
g = OrthogonalLine(G, e)
I_1 = Point(g)
I = Point(g)
u = Vector(G, I)
H'_1 = Translate(H, u)
H' = Translate(H, u)
poly3, g_1, i, h', h = Polygon(G, I, H', H)