Construction in GCLC language


dim 120 120

point H_{a} 80 40
point H_{b} 89.36 77.83
point T_{a} 70.86 40

color 220 0 0
fontsize 11

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

color 200 200 200
drawline a
color 0 0 0




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

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



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


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


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

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

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



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


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


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

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


% Constructing bisector L_{\_G126927} of the segment T_{a}H_{b}
med L_{\_G126927} T_{a} H_{b} 

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

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

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

% Constructing a line L_{\_G126933} which passes through point T_{a} and point P_{\_G126930}
line L_{\_G126933} T_{a} P_{\_G126930} 

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


% Constructing a point P_{\_G126936} which belongs to line L_{\_G126927} and line L_{\_G126933}
intersec P_{\_G126936} L_{\_G126927} L_{\_G126933} 
cmark_r P_{\_G126936}

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

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



% NDG:  line h_{a} and circle circle[T_{a},H_{b},angle[s[a]][b]] intersect
% Constructing points A_{ca1} and A which are in intersection of circle[T_{a},H_{b},angle[s[a]][b]] and h_{a}
intersec2 A_{ca1} A circle[T_{a},H_{b},angle[s[a]][b]] h_{a} 
cmark_r A_{ca1}
cmark_t A


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

color 200 200 200
drawline b
color 0 0 0



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



% Constructing a point M_{b} such that CM_{b}/CA=0.5
towards M_{b} C A 0.5 
cmark_rt M_{b}
color 200 200 200
drawsegment C A 
color 0 0 0


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

color 200 200 200
drawcircle k(M_{b},C)
color 0 0 0



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

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


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

color 200 200 200
drawline c
color 0 0 0



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



drawsegment A B
drawsegment A C
drawsegment B C

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