Author: Ángel Corral Cedena

Muestra

A = (-8.2, -0.96)
B = (-4.48, 4.58)
C = (-3.8200000000000003, 4.26)
a = Segment(B, C)
D = (-3.56, 3.68)
E = (-3.6, 4.26)
b = Segment(D, E)
F = (-2.98, 4.26)
G = (-2.98, 4.96)
c = Segment(F, G)
H = (-2.34, 5.54)
d = Segment(G, H)
I = (-2.34, 6.16)
e = Segment(H, I)
J = (-2.7600000000000002, 5.74)
f = Segment(I, J)
K = (-3.3200000000000003, 5.74)
g = Segment(J, K)
L = (-3.3000000000000003, 5.24)
h = Segment(K, L)
M = (-3.92, 4.58)
i = Segment(L, M)
j = Segment(M, B)
k = Segment(C, D)
l = Segment(E, F)
N = (-2.66, 6.46)
m = Line(B, N)
n = Line(D, m)
p = OrthogonalLine(N, n)
O = Intersect(n, p)
poly1, b_1, n_1, o, d_1 = Polygon(B, N, O, D)
P = Point(p)
Q = (0.16, 7.4)
R = (0.16, 3.66)
poly2, p_1, q, r, d_2 = Polygon(P, Q, R, D)
s = false