Construction in GCLC language


dim 120 120

point O 65 51.14
point M_{b} 95 67.5
point H_{c} 68.91 84.83

color 220 0 0
fontsize 11

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

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

color 200 200 200
drawline m_{b}
color 0 0 0



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

color 200 200 200
drawcircle k(M_{b},C)
color 0 0 0




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

color 200 200 200
drawline b
color 0 0 0



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


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

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

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



drawsegment A B
drawsegment A C
drawsegment B C

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