Construction in GCLC language


dim 120 120

point M_{c} 50 67.5
point H_{a} 80 40
point H_{c} 68.91 84.83

color 220 0 0
fontsize 11

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

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

color 200 200 200
drawline c
color 0 0 0



% NDG:  points H_{a} 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_{a}
circle k(M_{c},A) M_{c} H_{a} 

color 200 200 200
drawcircle k(M_{c},A)
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_{a} and B are not the same
% Constructing a line a which passes through point H_{a} and point B
line a H_{a} B 

color 200 200 200
drawline a
color 0 0 0




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

color 200 200 200
drawline h_{c}
color 0 0 0



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



drawsegment A B
drawsegment A C
drawsegment B C

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