Construction in GCLC language


dim 120 120

point M_{b} 95 67.5
point H_{a} 80 40
point H_{b} 89.36 77.83

color 220 0 0
fontsize 11

cmark_rt M_{b}
cmark_b H_{a}
cmark_rt H_{b}
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_{a} 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_{a}
circle k(M_{b},C) M_{b} H_{a} 

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_{a} and C are not the same
% Constructing a line a which passes through point H_{a} and point C
line a H_{a} C 

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



drawsegment A B
drawsegment A C
drawsegment B C

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