Construction in GCLC language
dim 120 120
point O 65 51.14
point M_{c} 50 67.5
point H_{a} 80 40
color 220 0 0
fontsize 11
cmark_t O
cmark_lt M_{c}
cmark_b H_{a}
color 0 0 0
fontsize 10
% DET: points O and M_{c} are not the same
% Constructing a line m_{c} which passes through point O and point M_{c}
line m_{c} O M_{c}
color 200 200 200
drawline m_{c}
color 0 0 0
% NDG: points H_{a} and M_{c} are not the same
% Constructing a circle k(M_{c},A) whose center is at point M_{c} and which passes through point H_{a}
circle k(M_{c},A) M_{c} H_{a}
color 200 200 200
drawcircle k(M_{c},A)
color 0 0 0
% Constructing a line c which is perpendicular to line m_{c} and which passes through point M_{c}
perp c M_{c} m_{c}
color 200 200 200
drawline c
color 0 0 0
% NDG: line c and circle k(M_{c},A) intersect
% Constructing points A and B which are in intersection of k(M_{c},A) and c
intersec2 A B k(M_{c},A) c
cmark_t A
cmark_b B
% DET: points H_{a} and B are not the same
% Constructing a line a which passes through point H_{a} and point B
line a H_{a} B
color 200 200 200
drawline a
color 0 0 0
% NDG: points A and O are not the same
% Constructing a circle k(O,C) whose center is at point O and which passes through point A
circle k(O,C) O A
color 200 200 200
drawcircle k(O,C)
color 0 0 0
% NDG: line a and circle k(O,C) intersect% DET: points B and C must be different
% Constructing a point P_{\_G46408} which is a foot of the point O on the line a
foot P_{\_G46408} O a
cmark_r P_{\_G46408}
color 200 200 200
drawline O P_{\_G46408}
color 0 0 0
% Constructing a point C which is an image of the point B in the symmetry to point/line P_{\_G46408}
sim C P_{\_G46408} B
cmark_b C
drawsegment A B
drawsegment A C
drawsegment B C
% Non-degenerate conditions: line a and circle k(O,C) intersect; points A and O are not the same; line c and circle k(M_{c},A) intersect; points H_{a} and M_{c} are not the same
% Determination conditions: points B and C must be different; points H_{a} and B are not the same; points O and M_{c} are not the same