Construction in GCLC language


dim 120 120

point H_{a} 80 40
point H_{b} 89.36 77.83
point H_{c} 68.91 84.83

color 220 0 0
fontsize 11

cmark_b H_{a}
cmark_rt H_{b}
cmark_lt H_{c}
color 0 0 0
fontsize 10

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

color 200 200 200
drawline H_{a}H_{b}
color 0 0 0



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

color 200 200 200
drawline H_{c}H_{a}
color 0 0 0



% DET:  points H_{a} and H_{b} are not the same
% Constructing bisector m(H_{a}H_{b}) of the segment H_{a}H_{b}
med m(H_{a}H_{b}) H_{a} H_{b} 

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

color 200 200 200
drawsegment H_{a} H_{b} 
color 0 0 0


% DET:  points H_{b} and H_{c} are not the same
% Constructing bisector m(H_{b}H_{c}) of the segment H_{b}H_{c}
med m(H_{b}H_{c}) H_{b} H_{c} 

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

color 200 200 200
drawsegment H_{b} H_{c} 
color 0 0 0


% NDG:  points H_{a} and H_{c} are not the same; points H_{b} and H_{a} are not the same% DET:  points H_{a} and H_{b} are not the same
% Constructing an angle V[_G51594] which is equal to the angle H_{b}H_{a}H_{c}
angle_o V[_G51594] H_{b} H_{a} H_{c} 


% Calculating value angle[_G51673] using formula 1/pow(2,1)*V[_G51594]+0/pow(2,0)*180
expression angle[_G51673]  { 1/pow(2,1)*V[_G51594]+0/pow(2,0)*180  } 


% Constructing a point P_{\_G51670} which is an image of the point H_{b} in a rotation around the point H_{a} for the angle 1/pow(2,1)*V[_G51594]+0/pow(2,0)*180
rotate P_{\_G51670} H_{a} angle[_G51673] H_{b} 
cmark_r P_{\_G51670}
color 200 200 200
drawarc_p H_{a} H_{b} angle[_G51673] 
color 0 0 0

% Constructing a line h_{a} which passes through point H_{a} and point P_{\_G51670}
line h_{a} H_{a} P_{\_G51670} 

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




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

color 200 200 200
drawline a
color 0 0 0



% NDG:  lines a and m(H_{b}H_{c}) are not parallel% DET:  lines a and m(H_{b}H_{c}) are not the same
% Constructing a point M_{a} which belongs to line a and line m(H_{b}H_{c})
intersec M_{a} a m(H_{b}H_{c}) 
cmark_b M_{a}


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

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



% NDG:  line a and circle k(M_{a},B) intersect
% Constructing points B and C which are in intersection of k(M_{a},B) and a
intersec2 B C k(M_{a},B) a 
cmark_b B
cmark_b C


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

color 200 200 200
drawline c
color 0 0 0



% NDG:  lines m(H_{a}H_{b}) and c are not parallel% DET:  lines m(H_{a}H_{b}) and c are not the same
% Constructing a point M_{c} which belongs to line m(H_{a}H_{b}) and line c
intersec M_{c} m(H_{a}H_{b}) 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



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  lines m(H_{a}H_{b}) and c are not parallel; line a and circle k(M_{a},B) intersect; points H_{b} and M_{a} are not the same; lines a and m(H_{b}H_{c}) are not parallel; points H_{a} and H_{c} are not the same; points H_{b} and H_{a} are not the same
% Determination conditions:  lines m(H_{a}H_{b}) and c are not the same; points H_{c} and B are not the same; lines a and m(H_{b}H_{c}) are not the same; points H_{a} and H_{b} are not the same; points H_{b} and H_{c} are not the same; points H_{a} and H_{b} are not the same; points H_{a} and H_{c} are not the same; points H_{a} and H_{b} are not the same