Construction in GCLC language
dim 120 120
point A 80 95
point O 65 51.14
point H_{a} 80 40
color 220 0 0
fontsize 11
cmark_t A
cmark_t O
cmark_b H_{a}
color 0 0 0
fontsize 10
% DET: points A and H_{a} are not the same
% Constructing a line h_{a} which passes through point A and point H_{a}
line h_{a} A H_{a}
color 200 200 200
drawline h_{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
% Constructing a line a which is perpendicular to line h_{a} and which passes through point H_{a}
perp a H_{a} h_{a}
color 200 200 200
drawline a
color 0 0 0
% NDG: line a and circle k(O,C) intersect
% Constructing points C and B which are in intersection of k(O,C) and a
intersec2 C B k(O,C) a
cmark_b C
cmark_b B
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
% Determination conditions: points A and H_{a} are not the same