Construction in GCLC language


dim 120 120

point M_{b} 95 67.5
point H_{b} 89.36 77.83

color 220 0 0
fontsize 11

cmark_rt M_{b}
cmark_rt H_{b}
color 0 0 0
fontsize 10


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

color 200 200 200
drawline b
color 0 0 0




% Constructing a point C such that M_{b}C/M_{b}H_{b}=0.5908228195506308
towards C M_{b} H_{b} 0.5908228195506308 
color 220 0 0
fontsize 11
cmark_b C
color 0 0 0
fontsize 10

color 200 200 200
drawsegment M_{b} H_{b} 
color 0 0 0



% Constructing a point A such that CA/CM_{b}=2
towards A C M_{b} 2 
cmark_t A
color 200 200 200
drawsegment C A 
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_{\_G24870} with coordinates (10,30)
point P_{\_G24870} 10 30 
cmark_r P_{\_G24870}

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

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


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

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


% Constructing a line L_{\_G24879} which passes through point C and point P_{\_G24870}
line L_{\_G24879} C P_{\_G24870} 

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


% Constructing a point B which belongs to line L_{\_G24879} and line L_{\_G24876}
intersec B L_{\_G24879} L_{\_G24876} 
cmark_b B



drawsegment A B
drawsegment A C
drawsegment B C

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