Construction in GCLC language


dim 120 120

point C 110 40
point E_{c} 95 56.36
point T_{c} 55.38 72.43

color 220 0 0
fontsize 11

cmark_b C
cmark_r E_{c}
cmark_lt T_{c}
color 0 0 0
fontsize 10


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


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

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 E_{c} and C are not the same% DET:  points C and T_{c} are not the same
% Constructing an angle V[_G21170] which is equal to the angle E_{c}CT_{c}
angle_o V[_G21170] E_{c} C T_{c} 


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


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

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

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_{\_G21765} which passes through point M_{c} and point C
line L_{\_G21765} M_{c} C 

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


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

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

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

% Constructing a line L_{\_G21796} which passes through point C and point P_{\_G21835}
line L_{\_G21796} C P_{\_G21835} 

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


% Constructing a line L_{\_G21759} which contains the point P_{\_G21790} and is parallel to the line L_{\_G21796}
parallel L_{\_G21759} P_{\_G21790} L_{\_G21796} 

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


% Constructing a point G which belongs to line L_{\_G21759} and line L_{\_G21765}
intersec G L_{\_G21759} L_{\_G21765} 
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 E_{c} 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 E_{c} are not the same