Construction in GCLC language
dim 120 120
point E_{c} 95 56.36
point H_{a} 80 40
point H_{c} 68.91 84.83
color 220 0 0
fontsize 11
cmark_r E_{c}
cmark_b H_{a}
cmark_lt H_{c}
color 0 0 0
fontsize 10
% DET: points E_{c} and H_{c} are not the same
% Constructing a line h_{c} which passes through point E_{c} and point H_{c}
line h_{c} E_{c} H_{c}
color 200 200 200
drawline h_{c}
color 0 0 0
% NDG: points H_{a} and E_{c} are not the same
% Constructing a circle k(E_{c},C) whose center is at point E_{c} and which passes through point H_{a}
circle k(E_{c},C) E_{c} H_{a}
color 200 200 200
drawcircle k(E_{c},C)
color 0 0 0
% NDG: line h_{c} and circle k(E_{c},C) intersect
% Constructing points C and H which are in intersection of k(E_{c},C) and h_{c}
intersec2 C H k(E_{c},C) h_{c}
cmark_b C
cmark_rt H
% DET: points H_{a} and C are not the same
% Constructing a line a which passes through point H_{a} and point C
line a H_{a} C
color 200 200 200
drawline a
color 0 0 0
% DET: points H_{a} and H are not the same
% Constructing a line h_{a} which passes through point H_{a} and point H
line h_{a} H_{a} H
color 200 200 200
drawline h_{a}
color 0 0 0
% Constructing a line c which is perpendicular to line h_{c} and which passes through point H_{c}
perp c H_{c} h_{c}
color 200 200 200
drawline c
color 0 0 0
% NDG: lines c and a are not parallel% DET: lines c and a are not the same
% Constructing a point B which belongs to line c and line a
intersec B c a
cmark_b B
% NDG: lines h_{a} and c are not parallel% DET: lines h_{a} and c are not the same
% Constructing a point A which belongs to line h_{a} and line c
intersec A h_{a} c
cmark_t A
drawsegment A B
drawsegment A C
drawsegment B C
% Non-degenerate conditions: lines h_{a} and c are not parallel; lines c and a are not parallel; line h_{c} and circle k(E_{c},C) intersect; points H_{a} and E_{c} are not the same
% Determination conditions: lines h_{a} and c are not the same; lines c and a are not the same; points H_{a} and H are not the same; points H_{a} and C are not the same; points E_{c} and H_{c} are not the same