Construction in GCLC language


dim 120 120

point M_{b} 95 67.5
point H_{a} 80 40
point T_{b} 94.25 68.88

color 220 0 0
fontsize 11

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

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

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


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

color 200 200 200
drawline a
color 0 0 0



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

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

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


% Constructing midpoint P_{\_G46140} of the segment CP_{\_G46134}
midpoint P_{\_G46140} C P_{\_G46134} 
cmark_r P_{\_G46140}

% Constructing a line L_{\_G46143} which passes through point A and point P_{\_G46140}
line L_{\_G46143} A P_{\_G46140} 

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


% Constructing a line L_{\_G46146} which passes through point C and point P_{\_G46140}
line L_{\_G46146} C P_{\_G46140} 

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


% Constructing a point P_{\_G46149} which belongs to line L_{\_G46137} and line L_{\_G46143}
intersec P_{\_G46149} L_{\_G46137} L_{\_G46143} 
cmark_r P_{\_G46149}

% Constructing a point P_{\_G46152} which belongs to line L_{\_G46137} and line L_{\_G46146}
intersec P_{\_G46152} L_{\_G46137} L_{\_G46146} 
cmark_r P_{\_G46152}

% Constructing a line L_{\_G46155} which passes through point A and point P_{\_G46152}
line L_{\_G46155} A P_{\_G46152} 

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


% Constructing a line L_{\_G46158} which passes through point C and point P_{\_G46149}
line L_{\_G46158} C P_{\_G46149} 

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


% Constructing a point P_{\_G46161} which belongs to line L_{\_G46155} and line L_{\_G46158}
intersec P_{\_G46161} L_{\_G46155} L_{\_G46158} 
cmark_r P_{\_G46161}

% Constructing a line L_{\_G46164} which passes through point P_{\_G46140} and point P_{\_G46161}
line L_{\_G46164} P_{\_G46140} P_{\_G46161} 

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


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


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

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

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



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



drawsegment A B
drawsegment A C
drawsegment B C

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