Construction in GCLC language


dim 120 120

point O 65 51.14
point M_{c} 50 67.5

color 220 0 0
fontsize 11

cmark_t O
cmark_lt M_{c}
color 0 0 0
fontsize 10


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

color 200 200 200
drawline m_{c}
color 0 0 0




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

color 200 200 200
drawline c
color 0 0 0




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

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

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


% Constructing a line L_{\_G5719} which is perpendicular to line L_{\_G5716} and which passes through point M_{c}
perp L_{\_G5719} M_{c} L_{\_G5716} 

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


% Constructing a line L_{\_G5722} which passes through point O and point P_{\_G5713}
line L_{\_G5722} O P_{\_G5713} 

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


% Constructing a point A which belongs to line L_{\_G5722} and line L_{\_G5719}
intersec A L_{\_G5722} L_{\_G5719} 
color 220 0 0
fontsize 11
cmark_t A
color 0 0 0
fontsize 10




% Constructing a point B such that AB/AM_{c}=2
towards B A M_{c} 2 
cmark_b B
color 200 200 200
drawsegment A B 
color 0 0 0



% Generating number V[_G6087] with value 0.4715891651648699
number V[_G6087] 0.4715891651648699 


% Calculating value V[_G6108] using formula V[_G6087]*360
expression V[_G6108]  { V[_G6087]*360  } 


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



drawsegment A B
drawsegment A C
drawsegment B C

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