Dělení

Řezy

Kolmý hranol

Dělení kolmého hranolu

Jehlany

Jehlany v kolmém hranolu

A = Point(yAxis)
B = Point(xAxis)
C = Intersect(yAxis, xAxis)
poly1, c, a, b = Polygon(A, B, C)
D = (-3.3754487769724832, 5.053655146966143, 6.403074363679122)
ABCD, faceABD, faceBCD, faceACD, edgeAD, edgeBD, edgeCD = Pyramid(poly1, D)
e = Plane(D, xOyPlane)
D_1 = Intersect(zAxis, e)
f = OrthogonalLine(C, xOyPlane)
ABCD_1, faceABE_1, faceBCE, faceACE, edgeAE_1, edgeBE_1, edgeCE = Pyramid(poly1, D_1)
h = OrthogonalLine(A, xOyPlane)
E_1 = Intersect(h, e)
i, F_1, H, faceABGF, faceBCHG, faceACHF, faceFGH, edgeAF_1, edgeBG_1, edgeCH, edgeFG, edgeGH, edgeFH = Prism(poly1, E_1)
af_2 = Segment(F_1, A)
ABFD_1, faceBEG, faceABG_1, faceABE, faceAEG, edgeBG_2, edgeBE, edgeEG, edgeAG_1, edgeAB_1, edgeAE = Pyramid(F_1, B, D_1, A)
AEFD_1, faceAFG, faceAGH, faceAFH, edgeAF, edgeAG_2, edgeAH = Pyramid(faceFGH, A)
bd_1 = Segment(D_1, B)
af_1 = Segment(F_1, A)
ad_1 = Segment(D_1, A)
u = Vector(D_1, D)
faceFGH' = Translate(faceFGH, u)
AEFD, face1, face3, face2, edge1, edge2, edge3 = Pyramid(faceFGH', A)
G = Intersect(edge2, faceFGH')
ABFD, faceBGV, faceABG, faceABV, faceAGV, edgeBG, edgeBV, edgeGV, edgeAG, edgeAB, edgeAV = Pyramid(G, B, D, A)
E = Intersect(edge1, faceFGH')
r, F, D_2, faceABJI, faceBCKJ, faceACKI, faceIJK, edgeAI, edgeBJ, edgeCK, F_2, edgeJK, edgeIK = Prism(poly1, E)
ad = Segment(A, D)
af = Segment(F, A)
bd = Segment(B, D)
M_1 = Point(edgeCH)
v = Plane(M_1, xOyPlane)
poly2, K_1, L_1, L_2, g_1, h_1, i_1 = IntersectPath(v, i)
poly3, K, L, M, j_1, k_1, l_1 = IntersectPath(v, r)
del = false
rez = false
kol = false
del_1 = false
jeh = false
jeh_1 = false