Construction in GCLC language


dim 120 120

point C 110 40
point H_{a} 80 40
point N 72.5 61.93

color 220 0 0
fontsize 11

cmark_b C
cmark_b H_{a}
cmark_r N
color 0 0 0
fontsize 10

% DET:  points C and H_{a} are not the same
% Constructing a line a which passes through point C and point H_{a}
line a C H_{a} 

color 200 200 200
drawline a
color 0 0 0



% NDG:  points H_{a} and N are not the same
% Constructing a circle k(N,M_{a}) whose center is at point N and which passes through point H_{a}
circle k(N,M_{a}) N H_{a} 

color 200 200 200
drawcircle k(N,M_{a})
color 0 0 0



% NDG:  line a and circle k(N,M_{a}) intersect% DET:  points H_{a} and M_{a} must be different
% Constructing a point P_{\_G19520} which is a foot of the point N on the line a
foot P_{\_G19520} N a 
cmark_r P_{\_G19520}
color 200 200 200
drawline N P_{\_G19520} 
color 0 0 0

% Constructing a point M_{a} which is an image of the point H_{a} in the symmetry to point/line P_{\_G19520}
sim M_{a} P_{\_G19520} H_{a} 
cmark_b M_{a}



% Constructing a point B such that M_{a}B/M_{a}C=-1
towards B M_{a} C -1 
cmark_b B
color 200 200 200
drawsegment C B 
color 0 0 0


% DET:  points N and M_{a} are not the same
% Constructing a line m(H_{b}H_{c}) which passes through point N and point M_{a}
line m(H_{b}H_{c}) N M_{a} 

color 200 200 200
drawline m(H_{b}H_{c})
color 0 0 0



% NDG:  line m(H_{b}H_{c}) and circle k(N,M_{a}) intersect% DET:  points M_{a} and E_{a} must be different
% Constructing a point E_{a} which is an image of the point M_{a} in the symmetry to point/line N
sim E_{a} N M_{a} 
cmark_r E_{a}


% DET:  points E_{a} and H_{a} are not the same
% Constructing a line h_{a} which passes through point E_{a} and point H_{a}
line h_{a} E_{a} H_{a} 

color 200 200 200
drawline h_{a}
color 0 0 0



% NDG:  points C and M_{a} are not the same
% Constructing a circle k(M_{a},B) whose center is at point M_{a} and which passes through point C
circle k(M_{a},B) M_{a} C 

color 200 200 200
drawcircle k(M_{a},B)
color 0 0 0



% NDG:  circles k(N,M_{a}) and k(M_{a},B) intersect% DET:  circles k(N,M_{a}) and k(M_{a},B) are not the same
% Constructing points H_{b} and H_{c} which are in intersection of k(N,M_{a}) and k(M_{a},B)
intersec2 H_{b} H_{c} k(N,M_{a}) k(M_{a},B) 
cmark_rt H_{b}
cmark_lt H_{c}


% DET:  points C and H_{b} are not the same
% Constructing a line b which passes through point C and point H_{b}
line b C H_{b} 

color 200 200 200
drawline b
color 0 0 0



% 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; circles k(N,M_{a}) and k(M_{a},B) intersect; points C and M_{a} are not the same; line m(H_{b}H_{c}) and circle k(N,M_{a}) intersect; line a and circle k(N,M_{a}) intersect; points H_{a} and N are not the same
% Determination conditions:  lines h_{a} and b are not the same; points C and H_{b} are not the same; circles k(N,M_{a}) and k(M_{a},B) are not the same; points E_{a} and H_{a} are not the same; points M_{a} and E_{a} must be different; points N and M_{a} are not the same; points H_{a} and M_{a} must be different; points C and H_{a} are not the same