Construction in GCLC language


dim 120 120

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

color 220 0 0
fontsize 11

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

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

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



% 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




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

color 200 200 200
drawline h_{b}
color 0 0 0



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



drawsegment A B
drawsegment A C
drawsegment B C

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