Construction in GCLC language


dim 120 120

point H_{b} 89.36 77.83
point T_{b} 94.25 68.88

color 220 0 0
fontsize 11

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


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

color 200 200 200
drawline b
color 0 0 0




% Constructing a point M_{b} such that H_{b}M_{b}/H_{b}T_{b}=0.9213862359682973
towards M_{b} H_{b} T_{b} 0.9213862359682973 
color 220 0 0
fontsize 11
cmark_rt M_{b}
color 0 0 0
fontsize 10

color 200 200 200
drawsegment H_{b} T_{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 A such that M_{b}A/M_{b}H_{b}=0.9213862359682973
towards A M_{b} H_{b} 0.9213862359682973 
cmark_t A
color 200 200 200
drawsegment M_{b} H_{b} 
color 0 0 0



% Constructing a point C such that AC/AM_{b}=2
towards C A M_{b} 2 
cmark_b C
color 200 200 200
drawsegment A C 
color 0 0 0



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

% Constructing a line L_{\_G47166} which passes through point A and point H_{b}
line L_{\_G47166} A H_{b} 

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


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

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


% Constructing a line L_{\_G47172} which passes through point A and point P_{\_G47163}
line L_{\_G47172} A P_{\_G47163} 

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


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



drawsegment A B
drawsegment A C
drawsegment B C

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