Construction in GCLC language


dim 120 120

point B 20 40
point H_{b} 89.36 77.83
point T_{a} 70.86 40

color 220 0 0
fontsize 11

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

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

color 200 200 200
drawline h_{b}
color 0 0 0



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

color 200 200 200
drawline a
color 0 0 0




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

color 200 200 200
drawline b
color 0 0 0



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


% 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_{\_G41846} which is an image of the point C in a rotation around the point T_{a} for the angle 90
rotate P_{\_G41846} T_{a} 90 C 
cmark_r P_{\_G41846}
color 200 200 200
drawarc_p T_{a} C 90 
color 0 0 0

% Constructing a line L_{\_G41849} which passes through point T_{a} and point P_{\_G41846}
line L_{\_G41849} T_{a} P_{\_G41846} 

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


% Constructing midpoint P_{\_G41852} of the segment CP_{\_G41846}
midpoint P_{\_G41852} C P_{\_G41846} 
cmark_r P_{\_G41852}

% Constructing a line L_{\_G41855} which passes through point B and point P_{\_G41852}
line L_{\_G41855} B P_{\_G41852} 

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


% Constructing a line L_{\_G41858} which passes through point C and point P_{\_G41852}
line L_{\_G41858} C P_{\_G41852} 

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


% Constructing a point P_{\_G41861} which belongs to line L_{\_G41849} and line L_{\_G41855}
intersec P_{\_G41861} L_{\_G41849} L_{\_G41855} 
cmark_r P_{\_G41861}

% Constructing a point P_{\_G41864} which belongs to line L_{\_G41849} and line L_{\_G41858}
intersec P_{\_G41864} L_{\_G41849} L_{\_G41858} 
cmark_r P_{\_G41864}

% Constructing a line L_{\_G41867} which passes through point B and point P_{\_G41864}
line L_{\_G41867} B P_{\_G41864} 

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


% Constructing a line L_{\_G41870} which passes through point C and point P_{\_G41861}
line L_{\_G41870} C P_{\_G41861} 

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


% Constructing a point P_{\_G41873} which belongs to line L_{\_G41867} and line L_{\_G41870}
intersec P_{\_G41873} L_{\_G41867} L_{\_G41870} 
cmark_r P_{\_G41873}

% Constructing a line L_{\_G41876} which passes through point P_{\_G41852} and point P_{\_G41873}
line L_{\_G41876} P_{\_G41852} P_{\_G41873} 

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


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


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

% Constructing a circle k_over(T_{a},T`_{a}) whose center is at point P_{\_G42707} and which passes through point T_{a}
circle k_over(T_{a},T`_{a}) P_{\_G42707} 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; lines b and a are not parallel
% Determination conditions:  lines b and a are not the same; points B and T_{a} are not the same; points B and H_{b} are not the same