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 A 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_{\_G6415} with coordinates (10,30)
point P_{\_G6415} 10 30 
cmark_r P_{\_G6415}

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

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


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

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


% Constructing a line L_{\_G6424} which passes through point C and point P_{\_G6415}
line L_{\_G6424} C P_{\_G6415} 

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


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




% Constructing a point B such that AB/AH_{c}=0.38448165620727187
towards B A H_{c} 0.38448165620727187 
cmark_b B
color 200 200 200
drawsegment A 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