Construction in GCLC language


dim 120 120

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

color 220 0 0
fontsize 11

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


% point B is given by the problem setting, but it has to belong to the circle k(M_{a},B) which is constructible from the others objects given 
% 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




% Generating number V[_G19825] with value 0.9719330865610096
number V[_G19825] 0.9719330865610096 


% Calculating value V[_G19846] using formula V[_G19825]*360
expression V[_G19846]  { V[_G19825]*360  } 


% Constructing a point B which is an image of the point V[_G19846] in a rotation around the point M_{a} for the angle H_{b}
rotate B M_{a} V[_G19846] H_{b} 
color 220 0 0
fontsize 11
cmark_b B
color 0 0 0
fontsize 10

color 200 200 200
drawarc_p M_{a} H_{b} V[_G19846] 
color 0 0 0



% Constructing a point C such that BC/BM_{a}=2
towards C B M_{a} 2 
cmark_b C
color 200 200 200
drawsegment B C 
color 0 0 0


% 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




% Constructing a point A such that H_{b}A/H_{b}C=0.9719330865610096
towards A H_{b} C 0.9719330865610096 
cmark_t A
color 200 200 200
drawsegment H_{b} C 
color 0 0 0



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  points H_{b} and M_{a} are not the same
% Determination conditions:  points H_{b} and C are not the same