Construction in GCLC language


dim 120 120

point C 110 40
point H 80 72.73
point T_{c} 55.38 72.43

color 220 0 0
fontsize 11

cmark_b C
cmark_rt H
cmark_lt T_{c}
color 0 0 0
fontsize 10


% Constructing a point E_{c} such that CE_{c}/CH=0.5
towards E_{c} C H 0.5 
cmark_r E_{c}
color 200 200 200
drawsegment C H 
color 0 0 0


% DET:  points C and H are not the same
% Constructing a line h_{c} which passes through point C and point H
line h_{c} C H 

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



% DET:  points C and T_{c} are not the same
% Constructing a line s_{c} which passes through point C and point T_{c}
line s_{c} C T_{c} 

color 200 200 200
drawline s_{c}
color 0 0 0




% Constructing a line c which is perpendicular to line h_{c} and which passes through point T_{c}
perp c T_{c} h_{c} 

color 200 200 200
drawline c
color 0 0 0



% NDG:  points C and T_{c} are not the same; points H and C are not the same% DET:  points C and T_{c} are not the same
% Constructing an angle V[_G47756] which is equal to the angle HCT_{c}
angle_o V[_G47756] H C T_{c} 


% Calculating value angle[_G47835] using formula 1/pow(2,0)*V[_G47756]+0/pow(2,0)*180
expression angle[_G47835]  { 1/pow(2,0)*V[_G47756]+0/pow(2,0)*180  } 


% Constructing a point P_{\_G47832} which is an image of the point T_{c} in a rotation around the point C for the angle 1/pow(2,0)*V[_G47756]+0/pow(2,0)*180
rotate P_{\_G47832} C angle[_G47835] T_{c} 
cmark_r P_{\_G47832}
color 200 200 200
drawarc_p C T_{c} angle[_G47835] 
color 0 0 0

% Constructing a line CO which passes through point C and point P_{\_G47832}
line CO C P_{\_G47832} 

color 200 200 200
drawline CO
color 0 0 0




% Constructing a line m(H_{b}H_{a}) which contains the point E_{c} and is parallel to the line CO
parallel m(H_{b}H_{a}) E_{c} CO 

color 200 200 200
drawline m(H_{b}H_{a})
color 0 0 0



% NDG:  lines m(H_{b}H_{a}) and c are not parallel% DET:  lines m(H_{b}H_{a}) and c are not the same
% Constructing a point M_{c} which belongs to line m(H_{b}H_{a}) and line c
intersec M_{c} m(H_{b}H_{a}) c 
cmark_lt M_{c}



% Constructing a line L_{\_G48351} which passes through point M_{c} and point C
line L_{\_G48351} M_{c} C 

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


% Constructing a point P_{\_G48452} with coordinates (0,0)
point P_{\_G48452} 0 0 
cmark_r P_{\_G48452}

% Constructing a point P_{\_G48376} such that M_{c}P_{\_G48376}/M_{c}P_{\_G48452}=1
towards P_{\_G48376} M_{c} P_{\_G48452} 1 
cmark_r P_{\_G48376}
color 200 200 200
drawsegment M_{c} P_{\_G48376} 
color 0 0 0

% Constructing a point P_{\_G48421} such that M_{c}P_{\_G48421}/M_{c}P_{\_G48452}=3
towards P_{\_G48421} M_{c} P_{\_G48452} 3 
cmark_r P_{\_G48421}
color 200 200 200
drawsegment M_{c} P_{\_G48421} 
color 0 0 0

% Constructing a line L_{\_G48382} which passes through point C and point P_{\_G48421}
line L_{\_G48382} C P_{\_G48421} 

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


% Constructing a line L_{\_G48345} which contains the point P_{\_G48376} and is parallel to the line L_{\_G48382}
parallel L_{\_G48345} P_{\_G48376} L_{\_G48382} 

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


% Constructing a point G which belongs to line L_{\_G48345} and line L_{\_G48351}
intersec G L_{\_G48345} L_{\_G48351} 
cmark_t G



% Constructing a point O such that HO/HG=1.5
towards O H G 1.5 
cmark_t O
color 200 200 200
drawsegment H O 
color 0 0 0


% NDG:  points C and O are not the same
% Constructing a circle k(O,C) whose center is at point O and which passes through point C
circle k(O,C) O C 

color 200 200 200
drawcircle k(O,C)
color 0 0 0



% NDG:  line c and circle k(O,C) intersect
% Constructing points A and B which are in intersection of k(O,C) and c
intersec2 A B k(O,C) c 
cmark_t A
cmark_b B



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  line c and circle k(O,C) intersect; points C and O are not the same; lines m(H_{b}H_{a}) and c are not parallel; points C and T_{c} are not the same; points H and C are not the same
% Determination conditions:  lines m(H_{b}H_{a}) and c are not the same; points C and T_{c} are not the same; points C and T_{c} are not the same; points C and H are not the same