Construction in GCLC language


dim 120 120

point O 65 51.14
point M_{b} 95 67.5

color 220 0 0
fontsize 11

cmark_t O
cmark_rt M_{b}
color 0 0 0
fontsize 10


% point C is given by the problem setting, but it has to belong to the line b which is constructible from the others objects given 
% DET:  points O and M_{b} are not the same
% Constructing a line m_{b} which passes through point O and point M_{b}
line m_{b} O M_{b} 

color 200 200 200
drawline m_{b}
color 0 0 0




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

color 200 200 200
drawline b
color 0 0 0




% Constructing a point P_{\_G46112} with coordinates (10,30)
point P_{\_G46112} 10 30 
cmark_r P_{\_G46112}

% Constructing a line L_{\_G46115} which passes through point O and point M_{b}
line L_{\_G46115} O M_{b} 

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


% Constructing a line L_{\_G46118} which is perpendicular to line L_{\_G46115} and which passes through point M_{b}
perp L_{\_G46118} M_{b} L_{\_G46115} 

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


% Constructing a line L_{\_G46121} which passes through point O and point P_{\_G46112}
line L_{\_G46121} O P_{\_G46112} 

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


% Constructing a point C which belongs to line L_{\_G46121} and line L_{\_G46118}
intersec C L_{\_G46121} L_{\_G46118} 
color 220 0 0
fontsize 11
cmark_b C
color 0 0 0
fontsize 10




% Constructing a point A such that CA/CM_{b}=2
towards A C M_{b} 2 
cmark_t A
color 200 200 200
drawsegment C A 
color 0 0 0



% Generating number V[_G46486] with value 0.9437678815232381
number V[_G46486] 0.9437678815232381 


% Calculating value V[_G46507] using formula V[_G46486]*360
expression V[_G46507]  { V[_G46486]*360  } 


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



drawsegment A B
drawsegment A C
drawsegment B C

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