Construction in GCLC language


dim 120 120

point O 65 51.14
point M_{a} 65 40

color 220 0 0
fontsize 11

cmark_t O
cmark_b M_{a}
color 0 0 0
fontsize 10


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

color 200 200 200
drawline m_{a}
color 0 0 0




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

color 200 200 200
drawline a
color 0 0 0




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

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

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


% Constructing a line L_{\_G30246} which is perpendicular to line L_{\_G30243} and which passes through point M_{a}
perp L_{\_G30246} M_{a} L_{\_G30243} 

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


% Constructing a line L_{\_G30249} which passes through point O and point P_{\_G30240}
line L_{\_G30249} O P_{\_G30240} 

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


% Constructing a point B which belongs to line L_{\_G30249} and line L_{\_G30246}
intersec B L_{\_G30249} L_{\_G30246} 
color 220 0 0
fontsize 11
cmark_b B
color 0 0 0
fontsize 10




% 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



% Generating number V[_G30614] with value 0.7338054473427351
number V[_G30614] 0.7338054473427351 


% Calculating value V[_G30635] using formula V[_G30614]*360
expression V[_G30635]  { V[_G30614]*360  } 


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



drawsegment A B
drawsegment A C
drawsegment B C

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