Construction in GCLC language


dim 120 120

point M_{c} 50 67.5
point H_{b} 89.36 77.83
point H_{c} 68.91 84.83

color 220 0 0
fontsize 11

cmark_lt M_{c}
cmark_rt H_{b}
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_{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



% 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




% 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 h_{c} and b are not parallel% DET:  lines h_{c} and b are not the same
% Constructing a point C which belongs to line h_{c} and line b
intersec C h_{c} b 
cmark_b C



drawsegment A B
drawsegment A C
drawsegment B C

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