Construction in GCLC language
dim 120 120
point M_{a} 65 40
point G 70 58.33
point T_{a} 70.86 40
color 220 0 0
fontsize 11
cmark_b M_{a}
cmark_t G
cmark_b T_{a}
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
% DET: points M_{a} and T_{a} are not the same
% Constructing a line a which passes through point M_{a} and point T_{a}
line a M_{a} T_{a}
color 200 200 200
drawline a
color 0 0 0
% DET: points T_{a} and A are not the same
% Constructing a line s_{a} which passes through point T_{a} and point A
line s_{a} T_{a} A
color 200 200 200
drawline s_{a}
color 0 0 0
% Constructing a line m_{a} which is perpendicular to line a and which passes through point M_{a}
perp m_{a} M_{a} a
color 200 200 200
drawline m_{a}
color 0 0 0
% NDG: lines m_{a} and s_{a} are not parallel% DET: lines m_{a} and s_{a} are not the same
% Constructing a point N_{a} which belongs to line m_{a} and line s_{a}
intersec N_{a} m_{a} s_{a}
cmark_b N_{a}
% DET: points A and N_{a} are not the same
% Constructing bisector m(AN_{a}) of the segment AN_{a}
med m(AN_{a}) A N_{a}
color 200 200 200
drawline m(AN_{a})
color 0 0 0
color 200 200 200
drawsegment A N_{a}
color 0 0 0
% NDG: lines m(AN_{a}) and m_{a} are not parallel% DET: lines m(AN_{a}) and m_{a} are not the same
% Constructing a point O which belongs to line m(AN_{a}) and line m_{a}
intersec O m(AN_{a}) m_{a}
cmark_t O
% NDG: points A and O are not the same
% Constructing a circle k(O,C) whose center is at point O and which passes through point A
circle k(O,C) O A
color 200 200 200
drawcircle k(O,C)
color 0 0 0
% NDG: line a and circle k(O,C) intersect
% Constructing points C and B which are in intersection of k(O,C) and a
intersec2 C B k(O,C) a
cmark_b C
cmark_b B
drawsegment A B
drawsegment A C
drawsegment B C
% Non-degenerate conditions: line a and circle k(O,C) intersect; points A and O are not the same; lines m(AN_{a}) and m_{a} are not parallel; lines m_{a} and s_{a} are not parallel
% Determination conditions: lines m(AN_{a}) and m_{a} are not the same; points A and N_{a} are not the same; lines m_{a} and s_{a} are not the same; points T_{a} and A are not the same; points M_{a} and T_{a} are not the same