Construction in GCLC language


dim 120 120

point B 20 40
point H_{b} 89.36 77.83
point H_{c} 68.91 84.83

color 220 0 0
fontsize 11

cmark_b B
cmark_rt H_{b}
cmark_lt H_{c}
color 0 0 0
fontsize 10

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

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



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

color 200 200 200
drawline 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 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



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

color 200 200 200
drawline h_{c}
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



drawsegment A B
drawsegment A C
drawsegment B C

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