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