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

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

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


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

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


% Constructing a line L_{\_G3909} which passes through point O and point P_{\_G3900}
line L_{\_G3909} O P_{\_G3900} 

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


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




% Constructing a point C such that AC/AM_{b}=2
towards C A M_{b} 2 
cmark_b C
color 200 200 200
drawsegment A C 
color 0 0 0



% Generating number V[_G4274] with value 0.5062080486311431
number V[_G4274] 0.5062080486311431 


% Calculating value V[_G4295] using formula V[_G4274]*360
expression V[_G4295]  { V[_G4274]*360  } 


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