Construction in GCLC language


dim 120 120

point B 20 40
point O 65 51.14
point T_{c} 55.38 72.43

color 220 0 0
fontsize 11

cmark_b B
cmark_t O
cmark_lt T_{c}
color 0 0 0
fontsize 10

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

color 200 200 200
drawline c
color 0 0 0



% 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 c and circle k(O,C) intersect% DET:  points B and A must be different
% Constructing a point P_{\_G17090} which is a foot of the point O on the line c
foot P_{\_G17090} O c 
cmark_r P_{\_G17090}
color 200 200 200
drawline O P_{\_G17090} 
color 0 0 0

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



% Constructing a point M_{c} such that AM_{c}/AB=0.5
towards M_{c} A B 0.5 
cmark_lt M_{c}
color 200 200 200
drawsegment A B 
color 0 0 0


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

color 200 200 200
drawline m_{c}
color 0 0 0



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


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

color 200 200 200
drawline s_{c}
color 0 0 0



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

% Constructing a point C which is an image of the point N_{c} in the symmetry to point/line P_{\_G17500}
sim C P_{\_G17500} N_{c} 
cmark_b C



drawsegment A B
drawsegment A C
drawsegment B C

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