Construction in GCLC language


dim 120 120

point H_{b} 89.36 77.83
point H_{c} 68.91 84.83
point H 80 72.73

color 220 0 0
fontsize 11

cmark_rt H_{b}
cmark_lt H_{c}
cmark_rt H
color 0 0 0
fontsize 10

% 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



% 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 b which is perpendicular to line h_{b} and which passes through point H_{b}
perp b H_{b} h_{b} 

color 200 200 200
drawline b
color 0 0 0



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



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


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



drawsegment A B
drawsegment A C
drawsegment B C

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