Hranol: n_boký, výška - v

Ihlan

Rovina

A = (0, 0)
B = (6.538413549437885, 1.339987606447051)
n = 4 (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
M = Point(hranaCG)
p = Plane(A, D, V)
q = Plane(M, p)
r = Line(M, hranaCG)
s = Line(A, D)
t = Line(M, s)
d = Line(V, B)
J = Intersect(d, t)
e = Line(V, A)
f_1 = Line(J, e)
g_1 = Line(B, A)
K = Intersect(g_1, f_1)
h_1 = Line(K, s)
i_1 = Line(C, D)
L = Intersect(i_1, h_1)
q1, k_1, l_1, m_1, j_1 = Polygon(K, L, M, J)
o = false