Construction in GCLC language


dim 120 120

point M_{a} 65 40
point H_{a} 80 40
point H_{b} 89.36 77.83

color 220 0 0
fontsize 11

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

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

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



drawsegment A B
drawsegment A C
drawsegment B C

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