\sigma

\rho

o

\text{Sestrojte řez hranolu rovinou procházející body } K', L', M'\
K' \in BCGF, L' \in CDHG, M'\in DAEH

A = Point(xAxis)
B = Point(yAxis)
C = Point(xAxis)
D = Point(yAxis)
poly1, a, b, c, d = Polygon(A, B, C, D)
f = OrthogonalLine(A, xOyPlane)
E = Point(f)
e, F, G, H, faceABFE, faceBCGF, faceCDHG, faceADHE, faceEFGH, edgeAE, edgeBF, edgeCG, edgeDH, edgeEF, edgeFG, edgeGH, edgeEH = Prism(poly1, E)
j = Line(D, C)
l = Line(A, B)
m = Line(B, C)
ρ: z = 0
K' = PointIn(faceBCGF)
L' = PointIn(faceCDHG)
M' = PointIn(faceADHE)
g = Line(K', edgeBF)
h = Line(L', edgeBF)
i = Line(M', edgeBF)
K = Intersect(g, b)
L = Intersect(c, h)
M = Intersect(i, d)
k = Line(K, L)
n = Line(K', L')
S_{KL} = Intersect(k, n)
p = Line(M, L)
q = Line(M', L')
S_{ML} = Intersect(q, p)
o = Line(S_{KL}, S_{ML})
r = Line(D, C)
S_{DC} = Intersect(o, r)
s = Line(S_{DC}, L')
D' = Intersect(s, edgeDH)
C' = Intersect(edgeCG, s)
t = Line(C', K')
B' = Intersect(t, edgeBF)
f_1 = Line(D', M')
A' = Intersect(f_1, edgeAE)
poly2, a', b', c', d' = Polygon(A', B', C', D')