Construction in GCLC language


dim 120 120

point C 110 40
point H_{a} 80 40
point H_{c} 68.91 84.83

color 220 0 0
fontsize 11

cmark_b C
cmark_b H_{a}
cmark_lt H_{c}
color 0 0 0
fontsize 10

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

color 200 200 200
drawline a
color 0 0 0



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

color 200 200 200
drawline h_{c}
color 0 0 0




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

color 200 200 200
drawline c
color 0 0 0



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



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



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  lines c and h_{a} are not parallel; lines c and a are not parallel
% Determination conditions:  lines c and h_{a} are not the same; lines c and a are not the same; points C and H_{c} are not the same; points C and H_{a} are not the same