Construction in GCLC language


dim 120 120

point M_{c} 50 67.5
point T_{c} 55.38 72.43

color 220 0 0
fontsize 11

cmark_lt M_{c}
cmark_lt T_{c}
color 0 0 0
fontsize 10


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

color 200 200 200
drawline c
color 0 0 0




% Constructing a point B such that M_{c}B/M_{c}T_{c}=0.7647098175387306
towards B M_{c} T_{c} 0.7647098175387306 
color 220 0 0
fontsize 11
cmark_b B
color 0 0 0
fontsize 10

color 200 200 200
drawsegment M_{c} T_{c} 
color 0 0 0



% Constructing a point A such that BA/BM_{c}=2
towards A B M_{c} 2 
cmark_t A
color 200 200 200
drawsegment B A 
color 0 0 0


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

% Constructing a line L_{\_G16623} which passes through point T_{c} and point P_{\_G16620}
line L_{\_G16623} T_{c} P_{\_G16620} 

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


% Constructing midpoint P_{\_G16626} of the segment BP_{\_G16620}
midpoint P_{\_G16626} B P_{\_G16620} 
cmark_r P_{\_G16626}

% Constructing a line L_{\_G16629} which passes through point A and point P_{\_G16626}
line L_{\_G16629} A P_{\_G16626} 

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


% Constructing a line L_{\_G16632} which passes through point B and point P_{\_G16626}
line L_{\_G16632} B P_{\_G16626} 

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


% Constructing a point P_{\_G16635} which belongs to line L_{\_G16623} and line L_{\_G16629}
intersec P_{\_G16635} L_{\_G16623} L_{\_G16629} 
cmark_r P_{\_G16635}

% Constructing a point P_{\_G16638} which belongs to line L_{\_G16623} and line L_{\_G16632}
intersec P_{\_G16638} L_{\_G16623} L_{\_G16632} 
cmark_r P_{\_G16638}

% Constructing a line L_{\_G16641} which passes through point A and point P_{\_G16638}
line L_{\_G16641} A P_{\_G16638} 

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


% Constructing a line L_{\_G16644} which passes through point B and point P_{\_G16635}
line L_{\_G16644} B P_{\_G16635} 

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


% Constructing a point P_{\_G16647} which belongs to line L_{\_G16641} and line L_{\_G16644}
intersec P_{\_G16647} L_{\_G16641} L_{\_G16644} 
cmark_r P_{\_G16647}

% Constructing a line L_{\_G16650} which passes through point P_{\_G16626} and point P_{\_G16647}
line L_{\_G16650} P_{\_G16626} P_{\_G16647} 

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


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



% Constructing midpoint P_{\_G17520} of the segment T_{c}T`_{c}
midpoint P_{\_G17520} T_{c} T`_{c} 
cmark_r P_{\_G17520}

% Generating number V[_G17468] with value 0.7647098175387306
number V[_G17468] 0.7647098175387306 


% Calculating value V[_G17489] using formula V[_G17468]*360
expression V[_G17489]  { V[_G17468]*360  } 


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



drawsegment A B
drawsegment A C
drawsegment B C

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