Construction in GCLC language


dim 120 120

point A 80 95
point M_{a} 65 40
point M_{b} 95 67.5

color 220 0 0
fontsize 11

cmark_t A
cmark_b M_{a}
cmark_rt M_{b}
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



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



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions: 
% Determination conditions: