Construction in GCLC language


dim 120 120

point C 110 40
point O 65 51.14
point T_{b} 94.25 68.88

color 220 0 0
fontsize 11

cmark_b C
cmark_t O
cmark_rt T_{b}
color 0 0 0
fontsize 10

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

color 200 200 200
drawline b
color 0 0 0



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

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



% NDG:  line b and circle k(O,C) intersect% DET:  points C and A must be different
% Constructing a point P_{\_G26898} which is a foot of the point O on the line b
foot P_{\_G26898} O b 
cmark_r P_{\_G26898}
color 200 200 200
drawline O P_{\_G26898} 
color 0 0 0

% Constructing a point A which is an image of the point C in the symmetry to point/line P_{\_G26898}
sim A P_{\_G26898} C 
cmark_t A



% Constructing a point M_{b} such that AM_{b}/AC=0.5
towards M_{b} A C 0.5 
cmark_rt M_{b}
color 200 200 200
drawsegment A C 
color 0 0 0


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

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



% NDG:  line m_{b} and circle k(O,C) intersect
% Constructing points N_{b} and N_{bk} which are in intersection of k(O,C) and m_{b}
intersec2 N_{b} N_{bk} k(O,C) m_{b} 
cmark_rb N_{b}
cmark_r N_{bk}


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

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



% NDG:  line s_{b} and circle k(O,C) intersect% DET:  points N_{b} and B must be different
% Constructing a point P_{\_G27308} which is a foot of the point O on the line s_{b}
foot P_{\_G27308} O s_{b} 
cmark_r P_{\_G27308}
color 200 200 200
drawline O P_{\_G27308} 
color 0 0 0

% Constructing a point B which is an image of the point N_{b} in the symmetry to point/line P_{\_G27308}
sim B P_{\_G27308} N_{b} 
cmark_b B



drawsegment A B
drawsegment A C
drawsegment B C

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