Construction in GCLC language


dim 120 120

point C 110 40
point H_{b} 89.36 77.83

color 220 0 0
fontsize 11

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


% point B is given by the problem setting, but it has to belong to the line h_{b} which is constructible from the others objects given 
% DET:  points C and H_{b} are not the same
% Constructing a line b which passes through point C and point H_{b}
line b C H_{b} 

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




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

% Constructing a line L_{\_G15055} which passes through point C and point H_{b}
line L_{\_G15055} C H_{b} 

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


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

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


% Constructing a line L_{\_G15061} which passes through point C and point P_{\_G15052}
line L_{\_G15061} C P_{\_G15052} 

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


% Constructing a point B which belongs to line L_{\_G15061} and line L_{\_G15058}
intersec B L_{\_G15061} L_{\_G15058} 
color 220 0 0
fontsize 11
cmark_b B
color 0 0 0
fontsize 10




% Constructing a point A such that CA/CH_{b}=0.8078436103784634
towards A C H_{b} 0.8078436103784634 
cmark_t A
color 200 200 200
drawsegment C H_{b} 
color 0 0 0



drawsegment A B
drawsegment A C
drawsegment B C

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