z_1 z_2

Re(z)

Im(z)

z_2

z_1

z_1 . z_2

Z_1 = (2, 1)
Z_2 = (1, 3)
z_1 = Vector((0.0, 0.0), Z_1)
z_2 = Vector((0.0, 0.0), Z_2)
C = Point(Vector[z_1 + z_2])
A = Point(xAxis)
Vieleck1, z_3, c, a = Polygon(C, A, Z_1)
α = Angle(A, C, Z_1)
b = Line((0.0, 0.0), (0.0, 0.0) + z_2)
β = Angle(z_3, b)
C' = Rotate(C, β, C)
A' = Rotate(A, β, C)
B = Rotate(Z_1, β, C)
Vieleck1', b_1, c', a' = Polygon(C', A', B)
d = Ray((0.0, 0.0), B)
e = Line(Z_2, c')
E = Intersect(d, e)
u = Vector((0.0, 0.0), E)
B2: x(Z_1)
C2: y(Z_1)
B3: x(Z_2)
C3: y(Z_2)
B4: B2 * B3 - C2 * C3
C4: C2 * B3 + B2 * C3