Construction in GCLC language


dim 120 120

point M_{a} 65 40
point M_{b} 95 67.5
point G 70 58.33

color 220 0 0
fontsize 11

cmark_b M_{a}
cmark_rt M_{b}
cmark_t G
color 0 0 0
fontsize 10


% 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



% Constructing a point B such that M_{b}B/M_{b}G=3
towards B M_{b} G 3 
cmark_b B
color 200 200 200
drawsegment M_{b} B 
color 0 0 0



% Constructing a point C such that M_{a}C/M_{a}B=-1
towards C M_{a} B -1 
cmark_b C
color 200 200 200
drawsegment B C 
color 0 0 0



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions: 
% Determination conditions: