Construction in GCLC language


dim 120 120

point A 80 95
point H_{b} 89.36 77.83
point H_{c} 68.91 84.83

color 220 0 0
fontsize 11

cmark_t A
cmark_rt H_{b}
cmark_lt H_{c}
color 0 0 0
fontsize 10

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

color 200 200 200
drawline b
color 0 0 0



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

color 200 200 200
drawline c
color 0 0 0




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

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



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



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



drawsegment A B
drawsegment A C
drawsegment B C

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