Construction in GCLC language


dim 120 120

point M_{c} 50 67.5
point H_{b} 89.36 77.83
point T_{c} 55.38 72.43

color 220 0 0
fontsize 11

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

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

color 200 200 200
drawline c
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 c and circle k(M_{c},A) intersect
% Constructing points A and B which are in intersection of k(M_{c},A) and c
intersec2 A B k(M_{c},A) c 
cmark_t A
cmark_b B


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

color 200 200 200
drawline b
color 0 0 0



% NDG:  points A and B are not the same; points B and T_{c} are not the same; points B and midpoint([A,T_{c}]) are not the same
% Constructing a point P_{\_G48884} which is an image of the point B in a rotation around the point T_{c} for the angle 90
rotate P_{\_G48884} T_{c} 90 B 
cmark_r P_{\_G48884}
color 200 200 200
drawarc_p T_{c} B 90 
color 0 0 0

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

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


% Constructing midpoint P_{\_G48890} of the segment BP_{\_G48884}
midpoint P_{\_G48890} B P_{\_G48884} 
cmark_r P_{\_G48890}

% Constructing a line L_{\_G48893} which passes through point A and point P_{\_G48890}
line L_{\_G48893} A P_{\_G48890} 

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


% Constructing a line L_{\_G48896} which passes through point B and point P_{\_G48890}
line L_{\_G48896} B P_{\_G48890} 

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


% Constructing a point P_{\_G48899} which belongs to line L_{\_G48887} and line L_{\_G48893}
intersec P_{\_G48899} L_{\_G48887} L_{\_G48893} 
cmark_r P_{\_G48899}

% Constructing a point P_{\_G48902} which belongs to line L_{\_G48887} and line L_{\_G48896}
intersec P_{\_G48902} L_{\_G48887} L_{\_G48896} 
cmark_r P_{\_G48902}

% Constructing a line L_{\_G48905} which passes through point A and point P_{\_G48902}
line L_{\_G48905} A P_{\_G48902} 

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


% Constructing a line L_{\_G48908} which passes through point B and point P_{\_G48899}
line L_{\_G48908} B P_{\_G48899} 

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


% Constructing a point P_{\_G48911} which belongs to line L_{\_G48905} and line L_{\_G48908}
intersec P_{\_G48911} L_{\_G48905} L_{\_G48908} 
cmark_r P_{\_G48911}

% Constructing a line L_{\_G48914} which passes through point P_{\_G48890} and point P_{\_G48911}
line L_{\_G48914} P_{\_G48890} P_{\_G48911} 

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


% Constructing a point T`_{c} which belongs to line L_{\_G48914} and line c
intersec T`_{c} L_{\_G48914} c 
cmark_r T`_{c}


% NDG:  points T_{c} and T`_{c} are not the same
% Constructing midpoint P_{\_G49745} of the segment T_{c}T`_{c}
midpoint P_{\_G49745} T_{c} T`_{c} 
cmark_r P_{\_G49745}

% Constructing a circle k_over(T_{c},T`_{c}) whose center is at point P_{\_G49745} and which passes through point T_{c}
circle k_over(T_{c},T`_{c}) P_{\_G49745} T_{c} 

color 200 200 200
drawcircle k_over(T_{c},T`_{c})
color 0 0 0



% NDG:  line b and circle k_over(T_{c},T`_{c}) intersect
% Constructing points C_{wa} and C which are in intersection of k_over(T_{c},T`_{c}) and b
intersec2 C_{wa} C k_over(T_{c},T`_{c}) b 
cmark_r C_{wa}
cmark_b C



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  line b and circle k_over(T_{c},T`_{c}) intersect; points T_{c} and T`_{c} are not the same; points A and B are not the same; points B and T_{c} are not the same; points B and midpoint([A,T_{c}]) are not the same; line c and circle k(M_{c},A) intersect; points H_{b} and M_{c} are not the same
% Determination conditions:  points H_{b} and A are not the same; points M_{c} and T_{c} are not the same