Construction in GCLC language


dim 120 120

point C 110 40
point O 65 51.14
point I 74.37 61.15

color 220 0 0
fontsize 11

cmark_b C
cmark_t O
cmark_b I
color 0 0 0
fontsize 10

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

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

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


% NDG:  points I and N_{c} are not the same
% Constructing a circle k(N_{c},B) whose center is at point N_{c} and which passes through point I
circle k(N_{c},B) N_{c} I 

color 200 200 200
drawcircle k(N_{c},B)
color 0 0 0



% NDG:  circles k(O,C) and k(N_{c},B) intersect% DET:  circles k(O,C) and k(N_{c},B) are not the same
% Constructing points A and B which are in intersection of k(O,C) and k(N_{c},B)
intersec2 A B k(O,C) k(N_{c},B) 
cmark_t A
cmark_b B



drawsegment A B
drawsegment A C
drawsegment B C

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