Construction in GCLC language


dim 120 120

point A 80 95
point M_{a} 65 40
point T_{a} 70.86 40

color 220 0 0
fontsize 11

cmark_t A
cmark_b M_{a}
cmark_b T_{a}
color 0 0 0
fontsize 10

% DET:  points A and T_{a} are not the same
% Constructing a line s_{a} which passes through point A and point T_{a}
line s_{a} A T_{a} 

color 200 200 200
drawline s_{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




% 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 M_{a} and T_{a} are not the same; points A and T_{a} are not the same