Construction in GCLC language


dim 120 120

point C 110 40
point H_{c} 68.91 84.83

color 220 0 0
fontsize 11

cmark_b C
cmark_lt H_{c}
color 0 0 0
fontsize 10


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

color 200 200 200
drawline h_{c}
color 0 0 0




% 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




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

% Constructing a line L_{\_G13034} which passes through point C and point H_{c}
line L_{\_G13034} C H_{c} 

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


% Constructing a line L_{\_G13037} which is perpendicular to line L_{\_G13034} and which passes through point H_{c}
perp L_{\_G13037} H_{c} L_{\_G13034} 

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


% Constructing a line L_{\_G13040} which passes through point C and point P_{\_G13031}
line L_{\_G13040} C P_{\_G13031} 

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


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




% Constructing a point A such that BA/BH_{c}=0.40698163184424946
towards A B H_{c} 0.40698163184424946 
cmark_t A
color 200 200 200
drawsegment B H_{c} 
color 0 0 0



drawsegment A B
drawsegment A C
drawsegment B C

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