Construction in GCLC language


dim 120 120

point C 110 40
point T_{a} 70.86 40

color 220 0 0
fontsize 11

cmark_b C
cmark_b T_{a}
color 0 0 0
fontsize 10


% point B is given by the problem setting, but it has to belong to the line a which is constructible from the others objects given 
% DET:  points C and T_{a} are not the same
% Constructing a line a which passes through point C and point T_{a}
line a C T_{a} 

color 200 200 200
drawline a
color 0 0 0




% Constructing a point B such that CB/CT_{a}=0.1915152598400722
towards B C T_{a} 0.1915152598400722 
color 220 0 0
fontsize 11
cmark_b B
color 0 0 0
fontsize 10

color 200 200 200
drawsegment C T_{a} 
color 0 0 0


% NDG:  points B and C are not the same; points C and T_{a} are not the same; points C and midpoint([B,T_{a}]) are not the same
% Constructing a point P_{\_G22926} which is an image of the point C in a rotation around the point T_{a} for the angle 90
rotate P_{\_G22926} T_{a} 90 C 
cmark_r P_{\_G22926}
color 200 200 200
drawarc_p T_{a} C 90 
color 0 0 0

% Constructing a line L_{\_G22929} which passes through point T_{a} and point P_{\_G22926}
line L_{\_G22929} T_{a} P_{\_G22926} 

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


% Constructing midpoint P_{\_G22932} of the segment CP_{\_G22926}
midpoint P_{\_G22932} C P_{\_G22926} 
cmark_r P_{\_G22932}

% Constructing a line L_{\_G22935} which passes through point B and point P_{\_G22932}
line L_{\_G22935} B P_{\_G22932} 

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


% Constructing a line L_{\_G22938} which passes through point C and point P_{\_G22932}
line L_{\_G22938} C P_{\_G22932} 

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


% Constructing a point P_{\_G22941} which belongs to line L_{\_G22929} and line L_{\_G22935}
intersec P_{\_G22941} L_{\_G22929} L_{\_G22935} 
cmark_r P_{\_G22941}

% Constructing a point P_{\_G22944} which belongs to line L_{\_G22929} and line L_{\_G22938}
intersec P_{\_G22944} L_{\_G22929} L_{\_G22938} 
cmark_r P_{\_G22944}

% Constructing a line L_{\_G22947} which passes through point B and point P_{\_G22944}
line L_{\_G22947} B P_{\_G22944} 

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


% Constructing a line L_{\_G22950} which passes through point C and point P_{\_G22941}
line L_{\_G22950} C P_{\_G22941} 

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


% Constructing a point P_{\_G22953} which belongs to line L_{\_G22947} and line L_{\_G22950}
intersec P_{\_G22953} L_{\_G22947} L_{\_G22950} 
cmark_r P_{\_G22953}

% Constructing a line L_{\_G22956} which passes through point P_{\_G22932} and point P_{\_G22953}
line L_{\_G22956} P_{\_G22932} P_{\_G22953} 

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


% Constructing a point T`_{a} which belongs to line L_{\_G22956} and line a
intersec T`_{a} L_{\_G22956} a 
cmark_r T`_{a}



% Constructing midpoint P_{\_G23826} of the segment T_{a}T`_{a}
midpoint P_{\_G23826} T_{a} T`_{a} 
cmark_r P_{\_G23826}

% Generating number V[_G23774] with value 0.1915152598400722
number V[_G23774] 0.1915152598400722 


% Calculating value V[_G23795] using formula V[_G23774]*360
expression V[_G23795]  { V[_G23774]*360  } 


% Constructing a point A which is an image of the point V[_G23795] in a rotation around the point T_{a} for the angle T`_{a}
rotate A T_{a} V[_G23795] T`_{a} 
cmark_t A
color 200 200 200
drawarc_p T_{a} T`_{a} V[_G23795] 
color 0 0 0



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  points B and C are not the same; points C and T_{a} are not the same; points C and midpoint([B,T_{a}]) are not the same
% Determination conditions:  points C and T_{a} are not the same