Construction in GCLC language


dim 120 120

point O 65 51.14
point M_{c} 50 67.5
point H_{b} 89.36 77.83

color 220 0 0
fontsize 11

cmark_t O
cmark_lt M_{c}
cmark_rt H_{b}
color 0 0 0
fontsize 10

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

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



% NDG:  points H_{b} and M_{c} are not the same
% Constructing a circle k(M_{c},A) whose center is at point M_{c} and which passes through point H_{b}
circle k(M_{c},A) M_{c} H_{b} 

color 200 200 200
drawcircle k(M_{c},A)
color 0 0 0




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

color 200 200 200
drawline c
color 0 0 0



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


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

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

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



drawsegment A B
drawsegment A C
drawsegment B C

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