Plegado

Mostrar puntos

0

1

2

Figura 1

Figura 2

Figura 3

Figura 4

Figura 5

Figura 6

Figura 7

Figura 8

Figura 9

Figura 10

Figura 11

Figura 12

f9

y2 = -4 (slider from -4 to 0, step 0.1)
x2 = 2.2600000000000002 (slider from 0 to 4, step 0.1)
y1 = -2.3000000000000003 (slider from -4 to 0, step 0.1)
x1 = 2.3200000000000016 (slider from 0 to 4, step 0.1)
plegado = 0 (slider from 0 to 2, step 0.05)
cuad1, a, b, c, d = Polygon((0, -4), (4, -4), (4, 0), (0, 0))
x3 = 4 (slider from 0 to 4, step 0.1)
x4 = 4 (slider from 0 to 4, step 0.1)
y3 = -4 (slider from -4 to 0, step 0.1)
y4 = -2.08 (slider from -4 to 0, step 0.1)
P3: (x3, y3)
P4: (x4, y4)
P1: (x1, y1)
P2: (x2, y2)
ple: 2 - plegado
poli1, p1, p2, p3, p4 = Polygon(P1, P2, P3, P4)
P1'_1 = Rotate(P1, (((-ple) * 180))°, (4, y(P1)))
P2'_1 = Rotate(P2, (((-ple) * 180))°, (4, y(P2)))
P3'_1 = Rotate(P3, (((-ple) * 180))°, (4, y(P3)))
P4'_1 = Rotate(P4, (((-ple) * 180))°, (4, y(P4)))
poli1', p1', p2', p3', p4' = Polygon(P1'_1, P2'_1, P3'_1, P4'_1)
A = Rotate((0, 0), (((-ple) * 180))°, (4, 0))
B = Rotate((0, -4), (((-ple) * 180))°, (4, -4))
C = Intersect(b, c)
D = Intersect(b, a)
cuad1', d_1, b_1, a_1, c_1 = Polygon(D, B, A, C)
P1'_2 = Mirror(P1, b)
P2' = Mirror(P2, b)
P3' = Mirror(P3, b)
P4' = Mirror(P4, b)
poli2, p1'_1, p2'_1, p3'_1, p4'_1 = Polygon(P1'_2, P2', P3', P4')
E = Mirror((0, -4), b)
F = Mirror((4, -4), b)
G = Mirror((4, 0), b)
H = Mirror((0, 0), b)
cuad2, e, f, g, h = Polygon(E, F, G, H)
I = Intersect(a, d)
P11 = Rotate(P1, (((ple - 1) * 180))°, (x(P1), 0))
P21 = Rotate(P2, (((ple - 1) * 180))°, (x(P2), 0))
P31 = Rotate(P3, (((ple - 1) * 180))°, (x(P3), 0))
P41 = Rotate(P4, (((ple - 1) * 180))°, (x(P4), 0))
poli3, p11, p21, p31, p41 = Polygon(P11, P21, P31, P41)
P22 = Rotate(P2', (((ple - 1) * 180))°, (x(P2'), 0))
P12 = Rotate(P1'_2, (((ple - 1) * 180))°, (x(P1'_2), 0))
P32 = Rotate(P3', (((ple - 1) * 180))°, (x(P3'), 0))
P42 = Rotate(P4', (((ple - 1) * 180))°, (x(P4'), 0))
poli4, p32, p22, p12, p42 = Polygon(P32, P22, P12, P42)
J = Rotate((0, -4), (((ple - 1) * 180))°, (0, 0))
J2 = Rotate((4, -4), (((ple - 1) * 180))°, (4, 0))
J3 = Rotate((8, -4), (((ple - 1) * 180))°, (8, 0))
K = Intersect(c, d)
cuad3, k, j, j2, g_1 = Polygon(K, J, J2, G)
cuad4, j3, h_1, g_2, j2_1 = Polygon(J3, H, G, J2)
i = false
L = (9.56, -5.5)
M = (10.9, 1.8)
f1 = false
f2 = false
f3 = false
f4 = false
f5 = false
f6 = false
f7 = false
f8 = false
f9 = false
f10 = false
f11 = false
f12 = false
p42' = Segment(P32, P42)