雙曲面(1)
Author: 藍邦偉  老師

x

y

z

顯示xy平面

顯示單位向量

顯示座標軸

A: (x((Corner[3.0] + 39.0 * Corner[4.0]) / 40.0), y((Corner[1.0] + 9.0 * Corner[4.0]) / 10.0))
B: (x((4.0 * Corner[3.0] + 16.0 * Corner[4.0]) / 20.0), y((Corner[1.0] + 9.0 * Corner[4.0]) / 10.0))
a = Segment(A, B)
C: (3.0 * A + B) / 4.0
D: (3.0 * B + A) / 4.0
E = Point(a)
c = Circle(C, E)
c' = Translate(c, Vector[Vector[C, D]])
A' = Rotate(A, 270.0*°, C)
B' = Rotate(B, 270.0*°, C)
a' = Segment(A', B')
c'' = Rotate(c', 270.0*°, C)
D' = Rotate(D, 270.0*°, C)
E' = Rotate(Translate[E, Vector[C, D]], 90.0*°, D)
E'' = Rotate(E', 270.0*°, C)
F = Point(c'')
G = Point(c')
α = Angle(E'', D', F)
b = Segment(D', F)
d = Segment(D, G)
β = Angle(G, D, E')
I: C + (b * cos(α), b * sin(α) * sin(β))
J: C + (b * cos(α + 90.0°), b * sin(α + 90.0°) * sin(β))
K: C + (0.0, b * cos(β))
e = Segment(C, K)
f = Segment(C, I)
g = Segment(C, J)
O = (-1.8462846442223975, 1.2691507910062523)
I' = Translate(I, Vector[Vector[C, O]])
J' = Translate(J, Vector[Vector[C, O]])
K' = Translate(K, Vector[Vector[C, O]])
L = 9 (slider from 1 to 10, step 1)
I'' = Dilate(I', L, O)
J'' = Dilate(J', L, O)
K'' = Dilate(K', L, O)
I''' = Dilate(I'', -1.0, O)
J''' = Dilate(J'', -1.0, O)
K''' = Dilate(K'', -1.0, O)
u' = Vector(I''', I'')
v' = Vector(J''', J'')
w' = Vector(K''', K'')
h_1 = Segment(D', E'')
i = Segment(D, E')
軌跡1 = Locus(I, F)
L_{axis}: L
j = false
w = Vector(O, K')
u = Vector(O, I')
v = Vector(O, J')
k = false
list1 = Sequence(CurveCartesian[x(O + t * u + s * v), y(O + t * u + s * v), t, -(L), L], s, -(L), L, 1.0)
list2 = Sequence(CurveCartesian[x(O + t * u + s * v), y(O + t * u + s * v), s, -(L), L], t, -(L), L, 1.0)
A_1: O + 2.0 * sqrt(2.0) * u - 2.0 * sqrt(6.0) * v
A_2: O + 2.0 * sqrt(2.0) * u + 2.0 * sqrt(6.0) * v
A_4: O + 8.0 * w
A_3: O - 4.0 * sqrt(2.0) * u
H = Midpoint(A_1, A_2)
M = Midpoint(A_2, A_3)
N = Midpoint(A_3, A_1)
Q_1: 1.0 / 3.0 * (A_1 + A_2 + A_4)
Q_2: 1.0 / 3.0 * (A_1 + A_3 + A_4)
Q_3: 1.0 / 3.0 * (A_2 + A_3 + A_4)
l = false
r = 6.6 (slider from 1 to 7, step 0.1)
h = 7 (slider from 1 to 7, step 0.1)
n = 60 (slider from 18 to 60, step 1)
θ = 2.5307274153917776 rad (slider from 0 to 3.141592653589793, step 0.017453292519943295)
m = CurveCartesian(x(O + r * cos(t) * u + r * sin(t) * v + h * w), y(O + r * cos(t) * u + r * sin(t) * v + h * w), t, 0.0, 6.283185307179586)
o = CurveCartesian(x(O + r * cos(t) * u + r * sin(t) * v - h * w), y(O + r * cos(t) * u + r * sin(t) * v - h * w), t, 0.0, 6.283185307179586)
集合1 = Sequence(Segment[O + r * cos(t * 2.0 * 3.141592653589793 / n + θ) * u + r * sin(t * 2.0 * 3.141592653589793 / n + θ) * v + h * w, O + r * cos(t * 2.0 * 3.141592653589793 / n) * u + r * sin(t * 2.0 * 3.141592653589793 / n) * v - h * w], t, 1.0, n)