Construction in GCLC language


dim 120 120

point O 65 51.14
point M_{a} 65 40
point H_{c} 68.91 84.83

color 220 0 0
fontsize 11

cmark_t O
cmark_b M_{a}
cmark_lt H_{c}
color 0 0 0
fontsize 10

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

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



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

color 200 200 200
drawcircle k(M_{a},B)
color 0 0 0




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

color 200 200 200
drawline a
color 0 0 0



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


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

color 200 200 200
drawline c
color 0 0 0



% NDG:  points B and O are not the same
% Constructing a circle k(O,C) whose center is at point O and which passes through point B
circle k(O,C) O B 

color 200 200 200
drawcircle k(O,C)
color 0 0 0



% NDG:  line c and circle k(O,C) intersect% DET:  points B and A must be different
% Constructing a point P_{\_G50489} which is a foot of the point O on the line c
foot P_{\_G50489} O c 
cmark_r P_{\_G50489}
color 200 200 200
drawline O P_{\_G50489} 
color 0 0 0

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



drawsegment A B
drawsegment A C
drawsegment B C

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