$\vec{u}$

$\vec{v}$

A: (0, 0, 0)
B: (4, 0, 0)
C: (4, 4, 0)
S: (2, 2, 8)
D: (0, 4, 0)
d1, s, b, c = Polygon(B, C, S)
d2, s_1, c_1, d = Polygon(C, D, S)
d3, s_2, d_1, a = Polygon(D, A, S)
d4, s_3, a_1, b_1 = Polygon(A, B, S)
u = Vector(S, C)
v = Vector(S, D)
n: u ⊗ v
n0: n / abs(n)
N: S + n0
w = Vector(S, N)
p = Plane(C, D, S)