Départ

Arrivée

A = (-1, 4)
B = (17, 4)
a = Segment(A, B)
C = (17, -6)
b = Segment(B, C)
D = (-1, -6)
c = Segment(C, D)
d = Segment(D, A)
E = Point(a)
F = (1, 1)
G = (4, 1)
H = Point(a)
poly1, e, f, g, h = Polygon(E, F, G, H)
I = Point(d)
J = (6, -1)
K = (6, 2)
L = (8, 2)
M = Point(c)
N = Intersect(c, d)
poly2, i, j, k, l, m, n = Polygon(I, J, K, L, M, N)
O = Point(a)
P = (10, -2)
Q = (12, -2)
R = Point(a)
poly3, o, p, q, r = Polygon(O, P, Q, R)
S = (5, 2)
T = (9, 0)