Construction in GCLC language


dim 120 120

point M_{c} 50 67.5
point H_{c} 68.91 84.83
point I 74.37 61.15

color 220 0 0
fontsize 11

cmark_lt M_{c}
cmark_lt H_{c}
cmark_b I
color 0 0 0
fontsize 10

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

color 200 200 200
drawline c
color 0 0 0



% DET:  points M_{c} and I are not the same
% Constructing a line IM_{c} which passes through point M_{c} and point I
line IM_{c} M_{c} I 

color 200 200 200
drawline IM_{c}
color 0 0 0



% NDG:  points I and M_{c} are not the same
% Constructing midpoint P_{\_G126619} of the segment IM_{c}
midpoint P_{\_G126619} I M_{c} 
cmark_r P_{\_G126619}

% Constructing a circle k_over(I,M_{c}) whose center is at point P_{\_G126619} and which passes through point I
circle k_over(I,M_{c}) P_{\_G126619} I 

color 200 200 200
drawcircle k_over(I,M_{c})
color 0 0 0




% Constructing a line m_{c} which is perpendicular to line c and which passes through point M_{c}
perp m_{c} M_{c} c 

color 200 200 200
drawline m_{c}
color 0 0 0




% Constructing a line h_{c} which is perpendicular to line c and which passes through point H_{c}
perp h_{c} H_{c} c 

color 200 200 200
drawline h_{c}
color 0 0 0



% NDG:  point I is not incident to the line c
% Constructing a point P_{\_G126917} which is a foot of the point I on the line c
foot P_{\_G126917} I c 
cmark_r P_{\_G126917}
color 200 200 200
drawline I P_{\_G126917} 
color 0 0 0

% Constructing a circle k(I,P_{a}) whose center is at point I and which passes through point P_{\_G126917}
circle k(I,P_{a}) I P_{\_G126917} 

color 200 200 200
drawcircle k(I,P_{a})
color 0 0 0



% NDG:  circles k(I,P_{a}) and k_over(I,M_{c}) intersect% DET:  circles k(I,P_{a}) and k_over(I,M_{c}) are not the same
% Constructing points C_{fi} and P_{c} which are in intersection of k(I,P_{a}) and k_over(I,M_{c})
intersec2 C_{fi} P_{c} k(I,P_{a}) k_over(I,M_{c}) 
cmark_r C_{fi}
cmark_r P_{c}



% Constructing a point P`_{c} such that P_{c}P`_{c}/P_{c}M_{c}=2
towards P`_{c} P_{c} M_{c} 2 
cmark_r P`_{c}
color 200 200 200
drawsegment P_{c} P`_{c} 
color 0 0 0



% Constructing a line CP`_{c} which contains the point P`_{c} and is parallel to the line IM_{c}
parallel CP`_{c} P`_{c} IM_{c} 

color 200 200 200
drawline CP`_{c}
color 0 0 0



% NDG:  lines CP`_{c} and h_{c} are not parallel% DET:  lines CP`_{c} and h_{c} are not the same
% Constructing a point C which belongs to line CP`_{c} and line h_{c}
intersec C CP`_{c} h_{c} 
cmark_b C


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

color 200 200 200
drawline s_{c}
color 0 0 0



% NDG:  lines m_{c} and s_{c} are not parallel% DET:  lines m_{c} and s_{c} are not the same
% Constructing a point N_{c} which belongs to line m_{c} and line s_{c}
intersec N_{c} m_{c} s_{c} 
cmark_b N_{c}


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

color 200 200 200
drawcircle k(N_{c},B)
color 0 0 0



% NDG:  line c and circle k(N_{c},B) intersect
% Constructing points B and A which are in intersection of k(N_{c},B) and c
intersec2 B A k(N_{c},B) c 
cmark_b B
cmark_t A



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  line c and circle k(N_{c},B) intersect; points I and N_{c} are not the same; lines m_{c} and s_{c} are not parallel; lines CP`_{c} and h_{c} are not parallel; circles k(I,P_{a}) and k_over(I,M_{c}) intersect; point I is not incident to the line c; points I and M_{c} are not the same
% Determination conditions:  lines m_{c} and s_{c} are not the same; points I and C are not the same; lines CP`_{c} and h_{c} are not the same; circles k(I,P_{a}) and k_over(I,M_{c}) are not the same; points M_{c} and I are not the same; points M_{c} and H_{c} are not the same