Construction in GCLC language


dim 120 120

point B 20 40
point H_{c} 68.91 84.83

color 220 0 0
fontsize 11

cmark_b B
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 B and H_{c} are not the same
% Constructing a line c which passes through point B and point H_{c}
line c B H_{c} 

color 200 200 200
drawline c
color 0 0 0




% Constructing a point A such that BA/BH_{c}=0.2135017972046251
towards A B H_{c} 0.2135017972046251 
color 220 0 0
fontsize 11
cmark_t A
color 0 0 0
fontsize 10

color 200 200 200
drawsegment B H_{c} 
color 0 0 0



% 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




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

% Constructing a line L_{\_G2189} which passes through point A and point H_{c}
line L_{\_G2189} A H_{c} 

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


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

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


% Constructing a line L_{\_G2195} which passes through point A and point P_{\_G2186}
line L_{\_G2195} A P_{\_G2186} 

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


% Constructing a point C which belongs to line L_{\_G2195} and line L_{\_G2192}
intersec C L_{\_G2195} L_{\_G2192} 
cmark_b C



drawsegment A B
drawsegment A C
drawsegment B C

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