物件的鏡射
Author: 藍邦偉  老師

觀察點，圓，拋物線，橢圓，雙曲線分別對過原點的直線鏡射

.

.

.

.

.

物件的鏡射

點的鏡射

拋物線的鏡射

圓的鏡射

橢圓的鏡射

雙曲線的鏡射

u = Vector((x(Corner[1.0]), 0.0), (x(Corner[3.0]), 0.0))
v = Vector((0.0, y(Corner[1.0])), (0.0, y(Corner[3.0])))
O = (0, 0)
A_0 = (10, 0)
A = (2, 0)
b = Segment(O, A)
c = false
d = false
B = Point(u)
f = Circle(B, 1.0)
g = false
i = false
j = false
T_1 = Corner(1.0)
T_4 = Corner(4.0)
T_2: (4.0 * Corner[1.0] + Corner[2.0]) / 5.0
T_3: (4.0 * Corner[4.0] + Corner[3.0]) / 5.0
多邊形1, t_1, t_2, t_3, t_4 = Polygon(T_1, T_2, T_3, T_4)
l = Segment(T_3, T_2)
α = 0.5235987755982988 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
m: y = tan(α) * x
A' = Mirror(A, m)
a = Segment(A', A)
e' = Mirror(e, m)
f' = Mirror(f, m)
h' = Mirror(h, m)
k' = Mirror(k, m)