Hranol: n_boký, výška - v

Ihlan

A = (0, 0)
B = (4.208143609228307, 1.2567636757070988)
n = 6 (slider from 1 to 8, step 1)
v = 8 (slider from 1 to 10, step 1)
mnohouholník1, f, g, h, i, j, k, l, m, C, D, E, F, G, H = Polygon(A, B, n)
E_{1} = Centroid(mnohouholník1)
F_{1} = Centroid(mnohouholník1)
a, V, stenaABG, stenaBCG, stenaCDG, stenaADG, stena1, stena2, stena3, stena4, hranaAG, hranaBG, hranaCG, hranaDG, hrana1, hrana2, hrana3, hrana4 = Pyramid(mnohouholník1, v)
b, I, stenaABI, stenaBCI, stenaCDI, stenaDEI, stenaEFI, stenaAFI, hranaAI, hranaBI, hranaCI, hranaDI, hranaEI, hranaFI = Pyramid(mnohouholník1, v)
c = false