Construction in GCLC language


dim 120 120

point B 20 40
point H_{b} 89.36 77.83

color 220 0 0
fontsize 11

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


% point A is given by the problem setting, but it has to belong to the line b which is constructible from the others objects given 
% 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




% 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




% Constructing a point P_{\_G3350} with coordinates (10,30)
point P_{\_G3350} 10 30 
cmark_r P_{\_G3350}

% Constructing a line L_{\_G3353} which passes through point B and point H_{b}
line L_{\_G3353} B H_{b} 

color 200 200 200
drawline L_{\_G3353}
color 0 0 0


% Constructing a line L_{\_G3356} which is perpendicular to line L_{\_G3353} and which passes through point H_{b}
perp L_{\_G3356} H_{b} L_{\_G3353} 

color 200 200 200
drawline L_{\_G3356}
color 0 0 0


% Constructing a line L_{\_G3359} which passes through point B and point P_{\_G3350}
line L_{\_G3359} B P_{\_G3350} 

color 200 200 200
drawline L_{\_G3359}
color 0 0 0


% Constructing a point A which belongs to line L_{\_G3359} and line L_{\_G3356}
intersec A L_{\_G3359} L_{\_G3356} 
color 220 0 0
fontsize 11
cmark_t A
color 0 0 0
fontsize 10




% Constructing a point C such that AC/AH_{b}=0.014655372130777026
towards C A H_{b} 0.014655372130777026 
cmark_b C
color 200 200 200
drawsegment A H_{b} 
color 0 0 0



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions: 
% Determination conditions:  points B and H_{b} are not the same