Construction in GCLC language


dim 120 120

point M_{a} 65 40
point H_{b} 89.36 77.83
point T_{a} 70.86 40

color 220 0 0
fontsize 11

cmark_b M_{a}
cmark_rt H_{b}
cmark_b T_{a}
color 0 0 0
fontsize 10

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

color 200 200 200
drawline a
color 0 0 0



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

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



% NDG:  line a and circle k(M_{a},B) intersect
% Constructing points B and C which are in intersection of k(M_{a},B) and a
intersec2 B C k(M_{a},B) a 
cmark_b B
cmark_b C


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

color 200 200 200
drawline b
color 0 0 0



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

% Constructing a line L_{\_G41260} which passes through point T_{a} and point P_{\_G41257}
line L_{\_G41260} T_{a} P_{\_G41257} 

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


% Constructing midpoint P_{\_G41263} of the segment CP_{\_G41257}
midpoint P_{\_G41263} C P_{\_G41257} 
cmark_r P_{\_G41263}

% Constructing a line L_{\_G41266} which passes through point B and point P_{\_G41263}
line L_{\_G41266} B P_{\_G41263} 

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


% Constructing a line L_{\_G41269} which passes through point C and point P_{\_G41263}
line L_{\_G41269} C P_{\_G41263} 

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


% Constructing a point P_{\_G41272} which belongs to line L_{\_G41260} and line L_{\_G41266}
intersec P_{\_G41272} L_{\_G41260} L_{\_G41266} 
cmark_r P_{\_G41272}

% Constructing a point P_{\_G41275} which belongs to line L_{\_G41260} and line L_{\_G41269}
intersec P_{\_G41275} L_{\_G41260} L_{\_G41269} 
cmark_r P_{\_G41275}

% Constructing a line L_{\_G41278} which passes through point B and point P_{\_G41275}
line L_{\_G41278} B P_{\_G41275} 

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


% Constructing a line L_{\_G41281} which passes through point C and point P_{\_G41272}
line L_{\_G41281} C P_{\_G41272} 

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


% Constructing a point P_{\_G41284} which belongs to line L_{\_G41278} and line L_{\_G41281}
intersec P_{\_G41284} L_{\_G41278} L_{\_G41281} 
cmark_r P_{\_G41284}

% Constructing a line L_{\_G41287} which passes through point P_{\_G41263} and point P_{\_G41284}
line L_{\_G41287} P_{\_G41263} P_{\_G41284} 

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


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


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

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

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



% NDG:  line b and circle k_over(T_{a},T`_{a}) intersect
% Constructing points A_{wc} and A which are in intersection of k_over(T_{a},T`_{a}) and b
intersec2 A_{wc} A k_over(T_{a},T`_{a}) b 
cmark_r A_{wc}
cmark_t A



drawsegment A B
drawsegment A C
drawsegment B C

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