Author: Ángel Corral Cedena

Muestra

A = (-8.2, 0.16)
B = (-4.18, 6.96)
C = (-1.52, 4.26)
a = Line(B, C)
D = (-1.84, 7.92)
E = (-7.2, 2.58)
b = Line(D, E)
F = (-6.84, 6.94)
G = (-1.52, 1.58)
c = Line(F, G)
H = (-1.5, 6.98)
I = (-6.86, 1.58)
d = Line(H, I)
J = Intersect(a, b)
K = Intersect(c, b)
L = Intersect(d, a)
M = Intersect(c, d)
N = Point(b)
e = Segment(M, N)
O = Point(b)
f = Segment(N, O)
g = Segment(O, L)
P = (-3.9, 5.24)
h = Segment(L, P)
i = Segment(P, M)
poly1, k, j, l, m = Polygon(K, J, L, M)
poly2, m_1, b_1, h_1, c_1 = Polygon(M, B, H, C)
n = false