Construction in GCLC language


dim 120 120

point B 20 40
point O 65 51.14

color 220 0 0
fontsize 11

cmark_b B
cmark_t O
color 0 0 0
fontsize 10


% point A is given by the problem setting, but it has to belong to the circle k(O,C) which is constructible from the others objects given 
% 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




% Generating number V[_G1987] with value 0.8532917690145562
number V[_G1987] 0.8532917690145562 


% Calculating value V[_G2008] using formula V[_G1987]*360
expression V[_G2008]  { V[_G1987]*360  } 


% Constructing a point A which is an image of the point V[_G2008] in a rotation around the point O for the angle B
rotate A O V[_G2008] B 
color 220 0 0
fontsize 11
cmark_t A
color 0 0 0
fontsize 10

color 200 200 200
drawarc_p O B V[_G2008] 
color 0 0 0



% Generating number V[_G2200] with value 0.8532917690145562
number V[_G2200] 0.8532917690145562 


% Calculating value V[_G2221] using formula V[_G2200]*360
expression V[_G2221]  { V[_G2200]*360  } 


% Constructing a point C which is an image of the point V[_G2221] in a rotation around the point O for the angle A
rotate C O V[_G2221] A 
cmark_b C
color 200 200 200
drawarc_p O A V[_G2221] 
color 0 0 0



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  points B and O are not the same
% Determination conditions: