Construction in GCLC language


dim 120 120

point B 20 40
point M_{b} 95 67.5
point T_{b} 94.25 68.88

color 220 0 0
fontsize 11

cmark_b B
cmark_rt M_{b}
cmark_rt T_{b}
color 0 0 0
fontsize 10

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

color 200 200 200
drawline s_{b}
color 0 0 0



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

color 200 200 200
drawline b
color 0 0 0




% Constructing a line m_{b} which is perpendicular to line b and which passes through point M_{b}
perp m_{b} M_{b} b 

color 200 200 200
drawline m_{b}
color 0 0 0



% NDG:  lines m_{b} and s_{b} are not parallel% DET:  lines m_{b} and s_{b} are not the same
% Constructing a point N_{b} which belongs to line m_{b} and line s_{b}
intersec N_{b} m_{b} s_{b} 
cmark_rb N_{b}


% DET:  points B and N_{b} are not the same
% Constructing bisector m(BN_{b}) of the segment BN_{b}
med m(BN_{b}) B N_{b} 

color 200 200 200
drawline m(BN_{b})
color 0 0 0

color 200 200 200
drawsegment B N_{b} 
color 0 0 0


% NDG:  lines m(BN_{b}) and m_{b} are not parallel% DET:  lines m(BN_{b}) and m_{b} are not the same
% Constructing a point O which belongs to line m(BN_{b}) and line m_{b}
intersec O m(BN_{b}) m_{b} 
cmark_t O


% NDG:  points B and O are not the same
% Constructing a circle k(O,C) whose center is at point O and which passes through point B
circle k(O,C) O B 

color 200 200 200
drawcircle k(O,C)
color 0 0 0



% NDG:  line b and circle k(O,C) intersect
% Constructing points C and A which are in intersection of k(O,C) and b
intersec2 C A k(O,C) b 
cmark_b C
cmark_t A



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  line b and circle k(O,C) intersect; points B and O are not the same; lines m(BN_{b}) and m_{b} are not parallel; lines m_{b} and s_{b} are not parallel
% Determination conditions:  lines m(BN_{b}) and m_{b} are not the same; points B and N_{b} are not the same; lines m_{b} and s_{b} are not the same; points M_{b} and T_{b} are not the same; points B and T_{b} are not the same