(BC|HA)+(CA|HB)+(AB|HC)=0

A = (0.84, 5.14)
B = (-1.94, -0.54)
C = (5.54, -1.48)
poly1, c, a, b = Polygon(A, B, C)
d = OrthogonalLine(A, a)
e = OrthogonalLine(B, b)
H = Intersect(d, e)
D = Intersect(e, b)
E = Intersect(d, a)
α = Angle(A, E, B)
β = Angle(B, D, C)
f = Segment(B, D)
g = Segment(E, A)
h = OrthogonalLine(C, c)
F = Intersect(h, c)
i = Segment(F, C)