Construction in GCLC language


dim 120 120

point C 110 40
point M_{a} 65 40
point M_{c} 50 67.5

color 220 0 0
fontsize 11

cmark_b C
cmark_b M_{a}
cmark_lt M_{c}
color 0 0 0
fontsize 10


% Constructing a point B such that CB/CM_{a}=2
towards B C M_{a} 2 
cmark_b B
color 200 200 200
drawsegment C B 
color 0 0 0



% Constructing a line L_{\_G58697} which passes through point C and point M_{c}
line L_{\_G58697} C M_{c} 

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


% Constructing a point P_{\_G58798} with coordinates (0,0)
point P_{\_G58798} 0 0 
cmark_r P_{\_G58798}

% Constructing a point P_{\_G58722} such that CP_{\_G58722}/CP_{\_G58798}=2
towards P_{\_G58722} C P_{\_G58798} 2 
cmark_r P_{\_G58722}
color 200 200 200
drawsegment C P_{\_G58722} 
color 0 0 0

% Constructing a point P_{\_G58767} such that CP_{\_G58767}/CP_{\_G58798}=3
towards P_{\_G58767} C P_{\_G58798} 3 
cmark_r P_{\_G58767}
color 200 200 200
drawsegment C P_{\_G58767} 
color 0 0 0

% Constructing a line L_{\_G58728} which passes through point M_{c} and point P_{\_G58767}
line L_{\_G58728} M_{c} P_{\_G58767} 

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


% Constructing a line L_{\_G58691} which contains the point P_{\_G58722} and is parallel to the line L_{\_G58728}
parallel L_{\_G58691} P_{\_G58722} L_{\_G58728} 

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


% Constructing a point G which belongs to line L_{\_G58691} and line L_{\_G58697}
intersec G L_{\_G58691} L_{\_G58697} 
cmark_t G



% Constructing a point A such that M_{a}A/M_{a}G=3
towards A M_{a} G 3 
cmark_t A
color 200 200 200
drawsegment M_{a} A 
color 0 0 0



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions: 
% Determination conditions: