Construction in GCLC language


dim 120 120

point H_{b} 89.36 77.83
point I 74.37 61.15
point N 72.5 61.93

color 220 0 0
fontsize 11

cmark_rt H_{b}
cmark_b I
cmark_r N
color 0 0 0
fontsize 10

% NDG:  points H_{b} 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_{b}
circle k(N,M_{a}) N H_{b} 

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



% NDG:  point I is inside the circle k(N,M_{a}); points I and N are not the same
% Calculating distance V[_G121462] from point N to point H_{b}
distance V[_G121462] N H_{b} 


% Calculating distance V[_G121486] from point N to point I
distance V[_G121486] N I 


% Calculating value V[_G121507] using formula V[_G121462]/V[_G121486]
expression V[_G121507]  { V[_G121462]/V[_G121486]  } 


% Constructing a point P_{\_G121538} such that NP_{\_G121538}/NI=V[_G121462]/V[_G121486]
towards P_{\_G121538} N I V[_G121507] 
cmark_r P_{\_G121538}

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

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



% NDG:  point H_{b} is outside the circle k(I,P_{a})
% Constructing midpoint P_{\_G121912} of the segment H_{b}I
midpoint P_{\_G121912} H_{b} I 
cmark_r P_{\_G121912}

% Constructing a circle C_{\_G121915} whose center is at point P_{\_G121912} and which passes through point H_{b}
circle C_{\_G121915} P_{\_G121912} H_{b} 

color 200 200 200
drawcircle C_{\_G121915}
color 0 0 0


% Constructing points P_{\_G121918} and P_{\_G121921} which are in intersection of C_{\_G121915} and k(I,P_{a})
intersec2 P_{\_G121918} P_{\_G121921} C_{\_G121915} k(I,P_{a}) 
cmark_r P_{\_G121918}
cmark_r P_{\_G121921}

% Constructing a line y2 which passes through point H_{b} and point P_{\_G121918}
line y2 H_{b} P_{\_G121918} 

color 200 200 200
drawline y2
color 0 0 0


% Constructing a line b which passes through point H_{b} and point P_{\_G121921}
line b H_{b} P_{\_G121921} 

color 200 200 200
drawline b
color 0 0 0



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

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


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

color 200 200 200
drawline IM_{b}
color 0 0 0



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

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



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


% 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 I and M_{b} are not the same
% Constructing midpoint P_{\_G122723} of the segment IM_{b}
midpoint P_{\_G122723} I M_{b} 
cmark_r P_{\_G122723}

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

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



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



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



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

color 200 200 200
drawline m_{b}
color 0 0 0




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

color 200 200 200
drawline BP`_{b}
color 0 0 0



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


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

color 200 200 200
drawline s_{b}
color 0 0 0



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


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

color 200 200 200
drawcircle k(N_{b},A)
color 0 0 0



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



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  line b and circle k(N_{b},A) intersect; points I and N_{b} are not the same; lines m_{b} and s_{b} are not parallel; lines BP`_{b} and h_{b} are not parallel; circles k_over(I,M_{b}) and k(I,P_{a}) intersect; points I and M_{b} are not the same; line m(H_{a}H_{c}) and circle k(N,M_{a}) intersect; line b and circle k(N,M_{a}) intersect; point H_{b} is outside the circle k(I,P_{a}); point I is inside the circle k(N,M_{a}); points I and N are not the same; points H_{b} and N are not the same
% Determination conditions:  lines m_{b} and s_{b} are not the same; points I and B are not the same; lines BP`_{b} and h_{b} are not the same; circles k_over(I,M_{b}) and k(I,P_{a}) are not the same; points E_{b} and H_{b} are not the same; points M_{b} and E_{b} must be different; points N and M_{b} are not the same; points M_{b} and I are not the same; points H_{b} and M_{b} must be different