Construction in GCLC language


dim 120 120

point H_{a} 80 40
point H_{c} 68.91 84.83
point T_{c} 55.38 72.43

color 220 0 0
fontsize 11

cmark_b H_{a}
cmark_lt H_{c}
cmark_lt T_{c}
color 0 0 0
fontsize 10

% 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_{c} and T_{c} are not the same
% Constructing a line c which passes through point H_{c} and point T_{c}
line c H_{c} T_{c} 

color 200 200 200
drawline 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:  points T_{c} and H_{c} are not the same; points H_{c} and H_{a} are not the same% DET:  points H_{c} and T_{c} are not the same
% Constructing an angle V[_G83264] which is equal to the angle T_{c}H_{c}H_{a}
angle_o V[_G83264] T_{c} H_{c} H_{a} 


% Calculating value angle[_G83343] using formula -1/(pow(2,0))*V[_G83264]-0/(pow(2,0))*180
expression angle[_G83343]  { -1/(pow(2,0))*V[_G83264]-0/(pow(2,0))*180  } 


% Constructing a point P_{\_G83340} which is an image of the point T_{c} in a rotation around the point H_{c} for the angle -1/(pow(2,0))*V[_G83264]-0/(pow(2,0))*180
rotate P_{\_G83340} H_{c} angle[_G83343] T_{c} 
cmark_r P_{\_G83340}
color 200 200 200
drawarc_p H_{c} T_{c} angle[_G83343] 
color 0 0 0

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

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



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


% Calculating value angle[_G83838] using formula 90-(1/pow(2,1)*angle[_G83827]+0/pow(2,0)*180)
expression angle[_G83838]  { 90-(1/pow(2,1)*angle[_G83827]+0/pow(2,0)*180)  } 


% Constructing a line L_{\_G83909} which passes through point T_{c} and point H_{a}
line L_{\_G83909} T_{c} H_{a} 

color 200 200 200
drawline L_{\_G83909}
color 0 0 0


% Constructing bisector L_{\_G83912} of the segment T_{c}H_{a}
med L_{\_G83912} T_{c} H_{a} 

color 200 200 200
drawline L_{\_G83912}
color 0 0 0

color 200 200 200
drawsegment T_{c} H_{a} 
color 0 0 0

% Constructing a point P_{\_G83915} which is an image of the point H_{a} in a rotation around the point T_{c} for the angle angle[_G83838]
rotate P_{\_G83915} T_{c} angle[_G83838] H_{a} 
cmark_r P_{\_G83915}
color 200 200 200
drawarc_p T_{c} H_{a} angle[_G83838] 
color 0 0 0

% Constructing a line L_{\_G83918} which passes through point T_{c} and point P_{\_G83915}
line L_{\_G83918} T_{c} P_{\_G83915} 

color 200 200 200
drawline L_{\_G83918}
color 0 0 0


% Constructing a point P_{\_G83921} which belongs to line L_{\_G83912} and line L_{\_G83918}
intersec P_{\_G83921} L_{\_G83912} L_{\_G83918} 
cmark_r P_{\_G83921}

% Constructing a circle circle[T_{c},H_{a},angle[s[c]][a]] whose center is at point P_{\_G83921} and which passes through point T_{c}
circle circle[T_{c},H_{a},angle[s[c]][a]] P_{\_G83921} T_{c} 

color 200 200 200
drawcircle circle[T_{c},H_{a},angle[s[c]][a]]
color 0 0 0



% NDG:  line h_{c} and circle circle[T_{c},H_{a},angle[s[c]][a]] intersect
% Constructing points C_{ca1} and C which are in intersection of circle[T_{c},H_{a},angle[s[c]][a]] and h_{c}
intersec2 C_{ca1} C circle[T_{c},H_{a},angle[s[c]][a]] h_{c} 
cmark_r C_{ca1}
cmark_b C


% 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:  lines c and a are not parallel% DET:  lines c and a are not the same
% Constructing a point B which belongs to line c and line a
intersec B c a 
cmark_b B



% Constructing a point M_{a} such that BM_{a}/BC=0.5
towards M_{a} B C 0.5 
cmark_b M_{a}
color 200 200 200
drawsegment B C 
color 0 0 0


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

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



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

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


% 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 c and b are not parallel% DET:  lines c and b are not the same
% Constructing a point A which belongs to line c and line b
intersec A c b 
cmark_t A



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  lines c and b are not parallel; line H_{b}H_{c} and circle k(M_{a},B) intersect; points H_{c} and M_{a} are not the same; lines c and a are not parallel; line h_{c} and circle circle[T_{c},H_{a},angle[s[c]][a]] intersect; points T_{c} and H_{c} are not the same; points H_{c} and H_{a} are not the same; points T_{c} and H_{a} are not the same; points T_{c} and H_{c} are not the same; points H_{c} and H_{a} are not the same
% Determination conditions:  lines c and b are not the same; points C and H_{b} are not the same; points H_{c} and H_{b} must be different; lines c and a are not the same; points C and H_{a} are not the same; points H_{c} and T_{c} are not the same; points H_{c} and T_{c} are not the same; points H_{a} and H_{c} are not the same