Construction in GCLC language


dim 120 120

point A 80 95
point O 65 51.14
point T_{c} 55.38 72.43

color 220 0 0
fontsize 11

cmark_t A
cmark_t O
cmark_lt T_{c}
color 0 0 0
fontsize 10

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

color 200 200 200
drawline c
color 0 0 0



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

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



% Constructing a point M_{c} such that BM_{c}/BA=0.5
towards M_{c} B A 0.5 
cmark_lt M_{c}
color 200 200 200
drawsegment B A 
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_{\_G13237} which is a foot of the point O on the line s_{c}
foot P_{\_G13237} O s_{c} 
cmark_r P_{\_G13237}
color 200 200 200
drawline O P_{\_G13237} 
color 0 0 0

% Constructing a point C which is an image of the point N_{c} in the symmetry to point/line P_{\_G13237}
sim C P_{\_G13237} 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 A 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 A and B must be different; points A and T_{c} are not the same