Construction in GCLC language


dim 120 120

point H_{c} 68.91 84.83
point I 74.37 61.15
point N 72.5 61.93

color 220 0 0
fontsize 11

cmark_lt H_{c}
cmark_b I
cmark_r N
color 0 0 0
fontsize 10

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

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[_G49600] from point N to point H_{c}
distance V[_G49600] N H_{c} 


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


% Calculating value V[_G49645] using formula V[_G49600]/V[_G49624]
expression V[_G49645]  { V[_G49600]/V[_G49624]  } 


% Constructing a point P_{\_G49676} such that NP_{\_G49676}/NI=V[_G49600]/V[_G49624]
towards P_{\_G49676} N I V[_G49645] 
cmark_r P_{\_G49676}

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

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



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

% Constructing a circle C_{\_G50052} whose center is at point P_{\_G50049} and which passes through point H_{c}
circle C_{\_G50052} P_{\_G50049} H_{c} 

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


% Constructing points P_{\_G50055} and P_{\_G50058} which are in intersection of C_{\_G50052} and k(I,P_{a})
intersec2 P_{\_G50055} P_{\_G50058} C_{\_G50052} k(I,P_{a}) 
cmark_r P_{\_G50055}
cmark_r P_{\_G50058}

% Constructing a line y3 which passes through point H_{c} and point P_{\_G50055}
line y3 H_{c} P_{\_G50055} 

color 200 200 200
drawline y3
color 0 0 0


% Constructing a line c which passes through point H_{c} and point P_{\_G50058}
line c H_{c} P_{\_G50058} 

color 200 200 200
drawline c
color 0 0 0



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

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


% 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



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

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



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


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

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



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

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

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



% NDG:  circles k_over(I,M_{c}) and k(I,P_{a}) intersect% DET:  circles k_over(I,M_{c}) and k(I,P_{a}) are not the same
% Constructing points C_{fi} and P_{c} which are in intersection of k_over(I,M_{c}) and k(I,P_{a})
intersec2 C_{fi} P_{c} k_over(I,M_{c}) k(I,P_{a}) 
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 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 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_over(I,M_{c}) and k(I,P_{a}) intersect; points I and M_{c} are not the same; line m(H_{a}H_{b}) and circle k(N,M_{a}) intersect; line c and circle k(N,M_{a}) intersect; point H_{c} 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_{c} and N 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_over(I,M_{c}) and k(I,P_{a}) are not the same; points E_{c} and H_{c} are not the same; points M_{c} and E_{c} must be different; points N and M_{c} are not the same; points M_{c} and I are not the same; points H_{c} and M_{c} must be different