Construction in GCLC language


dim 120 120

point H_{b} 89.36 77.83
point H_{c} 68.91 84.83
point T_{b} 94.25 68.88

color 220 0 0
fontsize 11

cmark_rt H_{b}
cmark_lt H_{c}
cmark_rt T_{b}
color 0 0 0
fontsize 10

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

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



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

color 200 200 200
drawline b
color 0 0 0




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

color 200 200 200
drawline h_{b}
color 0 0 0



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


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


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

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

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



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


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


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

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


% Constructing bisector L_{\_G92854} of the segment T_{b}H_{c}
med L_{\_G92854} T_{b} H_{c} 

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

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

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

% Constructing a line L_{\_G92860} which passes through point T_{b} and point P_{\_G92857}
line L_{\_G92860} T_{b} P_{\_G92857} 

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


% Constructing a point P_{\_G92863} which belongs to line L_{\_G92854} and line L_{\_G92860}
intersec P_{\_G92863} L_{\_G92854} L_{\_G92860} 
cmark_r P_{\_G92863}

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

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



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


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

color 200 200 200
drawline c
color 0 0 0



% NDG:  lines b and c are not parallel% DET:  lines b and c are not the same
% Constructing a point A which belongs to line b and line c
intersec A b c 
cmark_t A



% Constructing a point M_{c} such that AM_{c}/AB=0.5
towards M_{c} A B 0.5 
cmark_lt M_{c}
color 200 200 200
drawsegment A B 
color 0 0 0


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

color 200 200 200
drawcircle k(M_{c},A)
color 0 0 0



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

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


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

color 200 200 200
drawline a
color 0 0 0



% NDG:  lines b and a are not parallel% DET:  lines b and a are not the same
% Constructing a point C which belongs to line b and line a
intersec C b a 
cmark_b C



drawsegment A B
drawsegment A C
drawsegment B C

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