Construction in GCLC language


dim 120 120

point C 110 40
point H_{c} 68.91 84.83
point T_{a} 70.86 40

color 220 0 0
fontsize 11

cmark_b C
cmark_lt H_{c}
cmark_b T_{a}
color 0 0 0
fontsize 10

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

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



% 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 line c which is perpendicular to line h_{c} and which passes through point H_{c}
perp c H_{c} h_{c} 

color 200 200 200
drawline c
color 0 0 0



% NDG:  lines c and a are not parallel% DET:  lines c and a are not the same
% Constructing a point B which belongs to line c and line a
intersec B c a 
cmark_b B


% 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_{\_G42131} which is an image of the point C in a rotation around the point T_{a} for the angle 90
rotate P_{\_G42131} T_{a} 90 C 
cmark_r P_{\_G42131}
color 200 200 200
drawarc_p T_{a} C 90 
color 0 0 0

% Constructing a line L_{\_G42134} which passes through point T_{a} and point P_{\_G42131}
line L_{\_G42134} T_{a} P_{\_G42131} 

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


% Constructing midpoint P_{\_G42137} of the segment CP_{\_G42131}
midpoint P_{\_G42137} C P_{\_G42131} 
cmark_r P_{\_G42137}

% Constructing a line L_{\_G42140} which passes through point B and point P_{\_G42137}
line L_{\_G42140} B P_{\_G42137} 

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


% Constructing a line L_{\_G42143} which passes through point C and point P_{\_G42137}
line L_{\_G42143} C P_{\_G42137} 

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


% Constructing a point P_{\_G42146} which belongs to line L_{\_G42134} and line L_{\_G42140}
intersec P_{\_G42146} L_{\_G42134} L_{\_G42140} 
cmark_r P_{\_G42146}

% Constructing a point P_{\_G42149} which belongs to line L_{\_G42134} and line L_{\_G42143}
intersec P_{\_G42149} L_{\_G42134} L_{\_G42143} 
cmark_r P_{\_G42149}

% Constructing a line L_{\_G42152} which passes through point B and point P_{\_G42149}
line L_{\_G42152} B P_{\_G42149} 

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


% Constructing a line L_{\_G42155} which passes through point C and point P_{\_G42146}
line L_{\_G42155} C P_{\_G42146} 

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


% Constructing a point P_{\_G42158} which belongs to line L_{\_G42152} and line L_{\_G42155}
intersec P_{\_G42158} L_{\_G42152} L_{\_G42155} 
cmark_r P_{\_G42158}

% Constructing a line L_{\_G42161} which passes through point P_{\_G42137} and point P_{\_G42158}
line L_{\_G42161} P_{\_G42137} P_{\_G42158} 

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


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


% NDG:  points T_{a} and T`_{a} are not the same
% Constructing midpoint P_{\_G42992} of the segment T_{a}T`_{a}
midpoint P_{\_G42992} T_{a} T`_{a} 
cmark_r P_{\_G42992}

% Constructing a circle k_over(T_{a},T`_{a}) whose center is at point P_{\_G42992} and which passes through point T_{a}
circle k_over(T_{a},T`_{a}) P_{\_G42992} T_{a} 

color 200 200 200
drawcircle k_over(T_{a},T`_{a})
color 0 0 0



% NDG:  line c and circle k_over(T_{a},T`_{a}) intersect
% Constructing points A_{wb} and A which are in intersection of k_over(T_{a},T`_{a}) and c
intersec2 A_{wb} A k_over(T_{a},T`_{a}) c 
cmark_r A_{wb}
cmark_t A



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  line c and circle k_over(T_{a},T`_{a}) intersect; points T_{a} and T`_{a} are not the same; 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; lines c and a are not parallel
% Determination conditions:  lines c and a are not the same; points C and T_{a} are not the same; points C and H_{c} are not the same