I = (10.725151999999998, -2.90821)
K = (17.089752, -2.93241)
A = (-1.810448000000003, -5.15881)
B = (8.813352, -5.15881)
a, b, c, d, C, D, E, F, G, H = carré_milieu(A, B)

Tool: carré_milieu
carré_milieu[ <Point>, <Point> ]
Input: A, B
Output: e, f, g, h, C, D, F, G, H, E

poly1, a, b, c, d, C, D = Polygon(A, B, 4)
E = Midpoint(c)
F = Midpoint(b)
G = Midpoint(a)
H = Midpoint(d)
e = Segment(D, C)
f = Segment(C, B)
g = Segment(B, A)
h = Segment(A, D)