Construction in GCLC language


dim 120 120

point A 80 95
point H_{c} 68.91 84.83
point T_{b} 94.25 68.88

color 220 0 0
fontsize 11

cmark_t A
cmark_lt H_{c}
cmark_rt T_{b}
color 0 0 0
fontsize 10

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

color 200 200 200
drawline c
color 0 0 0



% DET:  points A and T_{b} are not the same
% Constructing a line b which passes through point A and point T_{b}
line b A T_{b} 

color 200 200 200
drawline b
color 0 0 0




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

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



% NDG:  lines h_{c} and b are not parallel% DET:  lines h_{c} and b are not the same
% Constructing a point C which belongs to line h_{c} and line b
intersec C h_{c} b 
cmark_b C


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

% Constructing a line L_{\_G16341} which passes through point T_{b} and point P_{\_G16338}
line L_{\_G16341} T_{b} P_{\_G16338} 

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


% Constructing midpoint P_{\_G16344} of the segment CP_{\_G16338}
midpoint P_{\_G16344} C P_{\_G16338} 
cmark_r P_{\_G16344}

% Constructing a line L_{\_G16347} which passes through point A and point P_{\_G16344}
line L_{\_G16347} A P_{\_G16344} 

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


% Constructing a line L_{\_G16350} which passes through point C and point P_{\_G16344}
line L_{\_G16350} C P_{\_G16344} 

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


% Constructing a point P_{\_G16353} which belongs to line L_{\_G16341} and line L_{\_G16347}
intersec P_{\_G16353} L_{\_G16341} L_{\_G16347} 
cmark_r P_{\_G16353}

% Constructing a point P_{\_G16356} which belongs to line L_{\_G16341} and line L_{\_G16350}
intersec P_{\_G16356} L_{\_G16341} L_{\_G16350} 
cmark_r P_{\_G16356}

% Constructing a line L_{\_G16359} which passes through point A and point P_{\_G16356}
line L_{\_G16359} A P_{\_G16356} 

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


% Constructing a line L_{\_G16362} which passes through point C and point P_{\_G16353}
line L_{\_G16362} C P_{\_G16353} 

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


% Constructing a point P_{\_G16365} which belongs to line L_{\_G16359} and line L_{\_G16362}
intersec P_{\_G16365} L_{\_G16359} L_{\_G16362} 
cmark_r P_{\_G16365}

% Constructing a line L_{\_G16368} which passes through point P_{\_G16344} and point P_{\_G16365}
line L_{\_G16368} P_{\_G16344} P_{\_G16365} 

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


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


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

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

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



% NDG:  line c and circle k_over(T_{b},T`_{b}) intersect
% Constructing points B_{wa} and B which are in intersection of k_over(T_{b},T`_{b}) and c
intersec2 B_{wa} B k_over(T_{b},T`_{b}) c 
cmark_r B_{wa}
cmark_b B



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  line c and circle k_over(T_{b},T`_{b}) intersect; points T_{b} and T`_{b} are not the same; points A and C are not the same; points C and T_{b} are not the same; points C and midpoint([A,T_{b}]) are not the same; lines h_{c} and b are not parallel
% Determination conditions:  lines h_{c} and b are not the same; points A and T_{b} are not the same; points A and H_{c} are not the same