Construction in GCLC language


dim 120 120

point B 20 40
point H 80 72.73
point T_{b} 94.25 68.88

color 220 0 0
fontsize 11

cmark_b B
cmark_rt H
cmark_rt T_{b}
color 0 0 0
fontsize 10


% Constructing a point E_{b} such that BE_{b}/BH=0.5
towards E_{b} B H 0.5 
cmark_r E_{b}
color 200 200 200
drawsegment B H 
color 0 0 0


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

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



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

color 200 200 200
drawline s_{b}
color 0 0 0




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

color 200 200 200
drawline b
color 0 0 0



% NDG:  points B and T_{b} are not the same; points H and B are not the same% DET:  points B and T_{b} are not the same
% Constructing an angle V[_G53181] which is equal to the angle HBT_{b}
angle_o V[_G53181] H B T_{b} 


% Calculating value angle[_G53260] using formula 1/pow(2,0)*V[_G53181]+0/pow(2,0)*180
expression angle[_G53260]  { 1/pow(2,0)*V[_G53181]+0/pow(2,0)*180  } 


% Constructing a point P_{\_G53257} which is an image of the point T_{b} in a rotation around the point B for the angle 1/pow(2,0)*V[_G53181]+0/pow(2,0)*180
rotate P_{\_G53257} B angle[_G53260] T_{b} 
cmark_r P_{\_G53257}
color 200 200 200
drawarc_p B T_{b} angle[_G53260] 
color 0 0 0

% Constructing a line BO which passes through point B and point P_{\_G53257}
line BO B P_{\_G53257} 

color 200 200 200
drawline BO
color 0 0 0




% Constructing a line m(H_{a}H_{c}) which contains the point E_{b} and is parallel to the line BO
parallel m(H_{a}H_{c}) E_{b} BO 

color 200 200 200
drawline m(H_{a}H_{c})
color 0 0 0



% NDG:  lines m(H_{a}H_{c}) and b are not parallel% DET:  lines m(H_{a}H_{c}) and b are not the same
% Constructing a point M_{b} which belongs to line m(H_{a}H_{c}) and line b
intersec M_{b} m(H_{a}H_{c}) b 
cmark_rt M_{b}



% Constructing a line L_{\_G53776} which passes through point M_{b} and point B
line L_{\_G53776} M_{b} B 

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


% Constructing a point P_{\_G53877} with coordinates (0,0)
point P_{\_G53877} 0 0 
cmark_r P_{\_G53877}

% Constructing a point P_{\_G53801} such that M_{b}P_{\_G53801}/M_{b}P_{\_G53877}=1
towards P_{\_G53801} M_{b} P_{\_G53877} 1 
cmark_r P_{\_G53801}
color 200 200 200
drawsegment M_{b} P_{\_G53801} 
color 0 0 0

% Constructing a point P_{\_G53846} such that M_{b}P_{\_G53846}/M_{b}P_{\_G53877}=3
towards P_{\_G53846} M_{b} P_{\_G53877} 3 
cmark_r P_{\_G53846}
color 200 200 200
drawsegment M_{b} P_{\_G53846} 
color 0 0 0

% Constructing a line L_{\_G53807} which passes through point B and point P_{\_G53846}
line L_{\_G53807} B P_{\_G53846} 

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


% Constructing a line L_{\_G53770} which contains the point P_{\_G53801} and is parallel to the line L_{\_G53807}
parallel L_{\_G53770} P_{\_G53801} L_{\_G53807} 

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


% Constructing a point G which belongs to line L_{\_G53770} and line L_{\_G53776}
intersec G L_{\_G53770} L_{\_G53776} 
cmark_t G



% Constructing a point O such that HO/HG=1.5
towards O H G 1.5 
cmark_t O
color 200 200 200
drawsegment H O 
color 0 0 0


% NDG:  points B and O are not the same
% Constructing a circle k(O,C) whose center is at point O and which passes through point B
circle k(O,C) O B 

color 200 200 200
drawcircle k(O,C)
color 0 0 0



% NDG:  line b and circle k(O,C) intersect
% Constructing points C and A which are in intersection of k(O,C) and b
intersec2 C A k(O,C) b 
cmark_b C
cmark_t A



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  line b and circle k(O,C) intersect; points B and O are not the same; lines m(H_{a}H_{c}) and b are not parallel; points B and T_{b} are not the same; points H and B are not the same
% Determination conditions:  lines m(H_{a}H_{c}) and b are not the same; points B and T_{b} are not the same; points B and T_{b} are not the same; points B and H are not the same