Construction in GCLC language


dim 120 120

point C 110 40
point O 65 51.14

color 220 0 0
fontsize 11

cmark_b C
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 C and O are not the same
% Constructing a circle k(O,C) whose center is at point O and which passes through point C
circle k(O,C) O C 

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




% Generating number V[_G7321] with value 0.2966463127131159
number V[_G7321] 0.2966463127131159 


% Calculating value V[_G7342] using formula V[_G7321]*360
expression V[_G7342]  { V[_G7321]*360  } 


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

color 200 200 200
drawarc_p O C V[_G7342] 
color 0 0 0



% Generating number V[_G7534] with value 0.2966463127131159
number V[_G7534] 0.2966463127131159 


% Calculating value V[_G7555] using formula V[_G7534]*360
expression V[_G7555]  { V[_G7534]*360  } 


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



drawsegment A B
drawsegment A C
drawsegment B C

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