Construction in GCLC language


dim 120 120

point A 80 95
point O 65 51.14
point H_{b} 89.36 77.83

color 220 0 0
fontsize 11

cmark_t A
cmark_t O
cmark_rt H_{b}
color 0 0 0
fontsize 10

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

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

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



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

color 200 200 200
drawline h_{b}
color 0 0 0



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



drawsegment A B
drawsegment A C
drawsegment B C

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