Construction in GCLC language


dim 120 120

point A 80 95
point O 65 51.14
point T_{a} 70.86 40

color 220 0 0
fontsize 11

cmark_t A
cmark_t O
cmark_b T_{a}
color 0 0 0
fontsize 10

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

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

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


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

color 200 200 200
drawline m_{a}
color 0 0 0




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

color 200 200 200
drawline a
color 0 0 0



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



drawsegment A B
drawsegment A C
drawsegment B C

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