Euler線

A = (5, 3.66)
B = (0.12, -2.7)
C = (7.22, -2.66)
f = Segment(A, B)
g = Segment(B, C)
h = Segment(C, A)
O = 外心(A, B, C)
G = 重心(A, B, C)
H = 垂心(A, B, C)
distanceOG = Distance(O, G)
テキストOG: Name[O] + (Name[G]) + " = " + distanceOG
distanceGH = Distance(G, H)
テキストGH: Name[G] + (Name[H]) + " = " + distanceGH

Tool: 外心
Input: A, B, C
Output: D

d = LineBisector(B, C)
e = LineBisector(A, C)
D = Intersect(e, d)

Tool: 重心
Input: A, B, C
Output: H

F = Midpoint(B, C)
G = Midpoint(C, A)
d = Segment(A, F)
e = Segment(B, G)
H = Intersect(d, e)

Tool: 内心
Input: A, B, C
Output: I

a = Segment(A, B)
b = Segment(B, C)
c = Segment(C, A)
f, g = AngularBisector(a, c)
h, i = AngularBisector(a, b)
I = Intersect(i, g)

Tool: 垂心
Input: A, B, C
Output: J

b = Segment(B, C)
c = Segment(C, A)
j = OrthogonalLine(A, b)
k = OrthogonalLine(B, c)
J = Intersect(k, j)

Tool: 傍心A
Input: A, B, C
Output: K

a = Segment(A, B)
b = Segment(B, C)
c = Segment(C, A)
m = Ray(A, C)
s, t = AngularBisector(a, c)
a_1, b_1 = AngularBisector(b, m)
K = Intersect(b_1, t)

Tool: 傍心B
Input: A, B, C
Output: L

b = Segment(B, C)
c = Segment(C, A)
k = OrthogonalLine(B, c)
m = Ray(A, C)
a_1, b_1 = AngularBisector(b, m)
L = Intersect(b_1, k)

Tool: 傍心C
Input: A, B, C
Output: M

a = Segment(A, B)
b = Segment(B, C)
c = Segment(C, A)
m = Ray(A, C)
s, t = AngularBisector(a, c)
a_1, b_1 = AngularBisector(b, m)
M = Intersect(s, a_1)