立體測量(2)
Author: 藍邦偉 老師

x

y

z

單位向量

座標軸

A

B

顯示水平面

立體測量(2)

建築物

s = 7.8 (slider from 0 to 9.5, step 0.1)
O = (9.068595628197102, 0.6485546665481995)
β = 1.3788101090755203 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
Z_{unit}: O + (0.0, sin(β))
w = Vector(O, Z_{unit})
α = 3.6477381366681487 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
X_{unit}: O + (cos(α), sin(α) * cos(β))
Y_{unit}: O + (-1.0 * sin(α), cos(α) * cos(β))
u = Vector(O, X_{unit})
v = Vector(O, Y_{unit})
L = 10 (slider from 1 to 10)
a = Vector(O - L * v, O + L * v)
b = Vector(O, O + L * w)
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_1 = 4.75 (slider from 1 to 10, step 0.05)
r_2 = 5 (slider from 1 to 10, step 0.05)
θ_1 = 0.6108652381980153 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
θ_2 = 2.181661564992912 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
P_1: O + r_1 * cos(θ_1) * u + r_1 * sin(θ_1) * v
H: O + s * w
e = Segment(H, P_1)
f = Segment(P_1, O)
g = Segment(O, H)
P_2: O + r_2 * cos(θ_2) * u + r_2 * sin(θ_2) * v
h = Segment(H, P_2)
i = Segment(P_2, O)
多邊形1, p_1, a_1, o = Polygon(H, O, P_1)
多邊形2, p_2, a_2, o_1 = Polygon(H, O, P_2)
j = true
r: L - 1.0
多邊形3, k, l, m, n = Polygon(O + r * u + r * v, O - r * u + r * v, O - r * u - r * v, O + r * u - r * v)
p = true
q = Segment(P_1, P_2)