Construction in GCLC language


dim 120 120

point C 110 40
point O 65 51.14
point T_{c} 55.38 72.43

color 220 0 0
fontsize 11

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

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

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_{\_G52818} which is a foot of the point O on the line s_{c}
foot P_{\_G52818} O s_{c} 
cmark_r P_{\_G52818}
color 200 200 200
drawline O P_{\_G52818} 
color 0 0 0

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


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

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




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

color 200 200 200
drawline c
color 0 0 0



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



drawsegment A B
drawsegment A C
drawsegment B C

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