y

z

單位向量

座標軸

立體測量(2) 隔著河測對岸建築物高度

x

B_2 = (12.21291940905234, 3.153651416338782)
A_5 = (1.3694751326198082, 2.9337032565734167)
e = Line(A_5, B_2)
α = 3.4557519189487724 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
β = 1.5009831567151233 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
O = Point(e)
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 = 12 (slider from 1 to 12, step 1)
a = Vector(O - L * v, O + L * v)
b = Vector(O - L * w, O + L * w)
z = Vector(O - L * u, O + L * u)
B_1: O + L * v
Z: O + L * w
c = false
d = true
n = 2 (slider from 0 to 4, step 1)
H = Point(b)
A_1: O + 20.0 * u
A_3: O - 23.0 * u + 35.0 * v
A_4: O + 20.0 * u + 35.0 * v
A_2: O - 23.0 * u
Poly1, a_1, a_2, a_3, a_4 = Polygon(A_1, A_2, A_3, A_4)
K_1: O + 9.0 * u + 27.5 * v
K_2: O - 5.0 * u + 4.3 * v
f = Line(K_1, K_2)
A = Point(f)
B = Point(f)
g = Segment(O, A)
h = Segment(O, B)
i = Segment(H, B)
j = Segment(H, A)

Tool: Poly_B3
Input: A, B, C
Output: poly1'

α = Angle(C, B, A)
d: sqrt(sgn(sin(α)))
A' = Dilate(A, d, A)
B' = Dilate(B, d, A)
C' = Dilate(C, d, A)
poly1', c', a', b' = Polygon(A', B', C')

Tool: Poly_B5
Input: A, B, C, D, E
Output: poly1'

poly1, a, b, c, d, e = Polygon(A, B, C, D, E)
F = Midpoint(b)
G = Midpoint(d)
α = Angle(G, F, A)
f: sqrt(sgn(sin(α)))
A' = Dilate(A, f, A)
B' = Dilate(B, f, A)
C' = Dilate(C, f, A)
D' = Dilate(D, f, A)
E' = Dilate(E, f, A)
poly1', a', b', c', d', e' = Polygon(A', B', C', D', E')