Construction in GCLC language


dim 120 120

point A 80 95
point O 65 51.14
point H_{c} 68.91 84.83

color 220 0 0
fontsize 11

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

% DET:  points A and H_{c} are not the same
% Constructing a line c which passes through point A and point H_{c}
line c A H_{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_{\_G5583} which is a foot of the point O on the line c
foot P_{\_G5583} O c 
cmark_r P_{\_G5583}
color 200 200 200
drawline O P_{\_G5583} 
color 0 0 0

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



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

color 200 200 200
drawline h_{c}
color 0 0 0



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



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  line h_{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 A and B must be different; points A and H_{c} are not the same