Construction in GCLC language


dim 120 120

point E_{a} 80 83.86
point H_{a} 80 40
point H_{b} 89.36 77.83

color 220 0 0
fontsize 11

cmark_r E_{a}
cmark_b H_{a}
cmark_rt H_{b}
color 0 0 0
fontsize 10

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

color 200 200 200
drawline h_{a}
color 0 0 0



% NDG:  points H_{b} and E_{a} are not the same
% Constructing a circle k(E_{a},A) whose center is at point E_{a} and which passes through point H_{b}
circle k(E_{a},A) E_{a} H_{b} 

color 200 200 200
drawcircle k(E_{a},A)
color 0 0 0



% NDG:  line h_{a} and circle k(E_{a},A) intersect
% Constructing points A and H which are in intersection of k(E_{a},A) and h_{a}
intersec2 A H k(E_{a},A) h_{a} 
cmark_t A
cmark_rt H


% 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



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

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




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

color 200 200 200
drawline a
color 0 0 0



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


% 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; lines a and b are not parallel; line h_{a} and circle k(E_{a},A) intersect; points H_{b} and E_{a} are not the same
% Determination conditions:  lines h_{b} and a are not the same; lines a and b are not the same; points H_{b} and H are not the same; points H_{b} and A are not the same; points E_{a} and H_{a} are not the same