Construction in GCLC language


dim 120 120

point M_{a} 65 40
point H_{a} 80 40
point H_{c} 68.91 84.83

color 220 0 0
fontsize 11

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

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

color 200 200 200
drawline 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



% 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




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

color 200 200 200
drawline h_{a}
color 0 0 0



% NDG:  lines h_{a} and c are not parallel% DET:  lines h_{a} and c are not the same
% Constructing a point A which belongs to line h_{a} and line c
intersec A h_{a} c 
cmark_t A



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  lines h_{a} and c are not parallel; line a and circle k(M_{a},B) intersect; points H_{c} and M_{a} are not the same
% Determination conditions:  lines h_{a} and c are not the same; points H_{c} and B are not the same; points M_{a} and H_{a} are not the same