Construction in GCLC language
dim 120 120
point B 20 40
point E_{c} 95 56.36
point N 72.5 61.93
color 220 0 0
fontsize 11
cmark_b B
cmark_r E_{c}
cmark_r N
color 0 0 0
fontsize 10
% DET: points E_{c} and N are not the same
% Constructing a line m(H_{b}H_{a}) which passes through point E_{c} and point N
line m(H_{b}H_{a}) E_{c} N
color 200 200 200
drawline m(H_{b}H_{a})
color 0 0 0
% NDG: points E_{c} and N are not the same
% Constructing a circle k(N,M_{a}) whose center is at point N and which passes through point E_{c}
circle k(N,M_{a}) N E_{c}
color 200 200 200
drawcircle k(N,M_{a})
color 0 0 0
% NDG: line m(H_{b}H_{a}) and circle k(N,M_{a}) intersect% DET: points E_{c} and M_{c} must be different
% Constructing a point M_{c} which is an image of the point E_{c} in the symmetry to point/line N
sim M_{c} N E_{c}
cmark_lt M_{c}
% Constructing a point A such that M_{c}A/M_{c}B=-1
towards A M_{c} B -1
cmark_t A
color 200 200 200
drawsegment B A
color 0 0 0
% DET: points B and M_{c} are not the same
% Constructing a line c which passes through point B and point M_{c}
line c B M_{c}
color 200 200 200
drawline c
color 0 0 0
% NDG: line c and circle k(N,M_{a}) intersect% DET: points M_{c} and H_{c} must be different
% Constructing a point P_{\_G16169} which is a foot of the point N on the line c
foot P_{\_G16169} N c
cmark_r P_{\_G16169}
color 200 200 200
drawline N P_{\_G16169}
color 0 0 0
% Constructing a point H_{c} which is an image of the point M_{c} in the symmetry to point/line P_{\_G16169}
sim H_{c} P_{\_G16169} M_{c}
cmark_lt H_{c}
% DET: points H_{c} and E_{c} are not the same
% Constructing a line h_{c} which passes through point H_{c} and point E_{c}
line h_{c} H_{c} E_{c}
color 200 200 200
drawline h_{c}
color 0 0 0
% NDG: points B 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 B
circle k(M_{c},A) M_{c} B
color 200 200 200
drawcircle k(M_{c},A)
color 0 0 0
% NDG: circles k(N,M_{a}) and k(M_{c},A) intersect% DET: circles k(N,M_{a}) and k(M_{c},A) are not the same
% Constructing points H_{a} and H_{b} which are in intersection of k(N,M_{a}) and k(M_{c},A)
intersec2 H_{a} H_{b} k(N,M_{a}) k(M_{c},A)
cmark_b H_{a}
cmark_rt H_{b}
% DET: points B and H_{a} are not the same
% Constructing a line a which passes through point B and point H_{a}
line a B H_{a}
color 200 200 200
drawline a
color 0 0 0
% NDG: lines h_{c} and a are not parallel% DET: lines h_{c} and a are not the same
% Constructing a point C which belongs to line h_{c} and line a
intersec C h_{c} a
cmark_b C
drawsegment A B
drawsegment A C
drawsegment B C
% Non-degenerate conditions: lines h_{c} and a are not parallel; circles k(N,M_{a}) and k(M_{c},A) intersect; points B and M_{c} are not the same; line c and circle k(N,M_{a}) intersect; line m(H_{b}H_{a}) and circle k(N,M_{a}) intersect; points E_{c} and N are not the same
% Determination conditions: lines h_{c} and a are not the same; points B and H_{a} are not the same; circles k(N,M_{a}) and k(M_{c},A) are not the same; points H_{c} and E_{c} are not the same; points M_{c} and H_{c} must be different; points B and M_{c} are not the same; points E_{c} and M_{c} must be different; points E_{c} and N are not the same