x

y

z

單位向量

座標軸

α = 4.956735075663896 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
β = 1.7627825445142729 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
O = (12.408354562818808, 3.0324635215127844)
X_{unit}: O + (cos(α), sin(α) * cos(β))
Y_{unit}: O + (-1.0 * sin(α), cos(α) * cos(β))
Z_{unit}: O + (0.0, sin(β))
u = Vector(O, X_{unit})
v = Vector(O, Y_{unit})
w = Vector(O, Z_{unit})
L = 6 (slider from 1 to 10, step 1)
a = Vector(O - L * v, O + L * v)
z = Vector(O - L * u, O + L * u)
A_1: O + L * u
B_1: O + L * v
Z: O + L * w
c = false
d = true
r: L - 1.0
P_1: O + r * u + r * v
P_2: O - r * u + r * v
P_3: O - r * u - r * v
P_4: O + r * u - r * v
多邊形1, p_1, p_2, p_3, p_4 = Polygon(P_1, P_2, P_3, P_4)
b = Vector(O - L * w, O + L * w)