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 B 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_{\_G16921} with coordinates (10,30)
point P_{\_G16921} 10 30 
cmark_r P_{\_G16921}

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

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


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

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


% Constructing a line L_{\_G16930} which passes through point O and point P_{\_G16921}
line L_{\_G16930} O P_{\_G16921} 

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


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




% Constructing a point A such that BA/BM_{c}=2
towards A B M_{c} 2 
cmark_t A
color 200 200 200
drawsegment B A 
color 0 0 0



% Generating number V[_G17295] with value 0.5683286865256372
number V[_G17295] 0.5683286865256372 


% Calculating value V[_G17316] using formula V[_G17295]*360
expression V[_G17316]  { V[_G17295]*360  } 


% Constructing a point C which is an image of the point V[_G17316] in a rotation around the point O for the angle B
rotate C O V[_G17316] B 
cmark_b C
color 200 200 200
drawarc_p O B V[_G17316] 
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