Construction in GCLC language


dim 120 120

point H_{c} 68.91 84.83
point T_{c} 55.38 72.43

color 220 0 0
fontsize 11

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


% point H is given by the problem setting, but it has to belong to the line h_{c} which is constructible from the others objects given 
% 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




% Constructing a point P_{\_G51344} with coordinates (10,30)
point P_{\_G51344} 10 30 
cmark_r P_{\_G51344}

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

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


% Constructing a line L_{\_G51350} which is perpendicular to line L_{\_G51347} and which passes through point H_{c}
perp L_{\_G51350} H_{c} L_{\_G51347} 

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


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

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


% Constructing a point H which belongs to line L_{\_G51353} and line L_{\_G51350}
intersec H L_{\_G51353} L_{\_G51350} 
color 220 0 0
fontsize 11
cmark_rt H
color 0 0 0
fontsize 10




% Constructing a point A such that H_{c}A/H_{c}T_{c}=0.29526031830380184
towards A H_{c} T_{c} 0.29526031830380184 
cmark_t A
color 200 200 200
drawsegment H_{c} T_{c} 
color 0 0 0


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

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




% Constructing a point B such that AB/AH_{c}=0.29526031830380184
towards B A H_{c} 0.29526031830380184 
cmark_b B
color 200 200 200
drawsegment A H_{c} 
color 0 0 0



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


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

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



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

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


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

color 200 200 200
drawline a
color 0 0 0



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



drawsegment A B
drawsegment A C
drawsegment B C

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