Construction in GCLC language


dim 120 120

point E_{a} 80 83.86
point H_{a} 80 40
point H_{c} 68.91 84.83

color 220 0 0
fontsize 11

cmark_r E_{a}
cmark_b H_{a}
cmark_lt H_{c}
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_{c} 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_{c}
circle k(E_{a},A) E_{a} H_{c} 

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_{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



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

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


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



drawsegment A B
drawsegment A C
drawsegment B C

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