Construction in GCLC language


dim 120 120

point C 110 40
point H_{c} 68.91 84.83
point T_{b} 94.25 68.88

color 220 0 0
fontsize 11

cmark_b C
cmark_lt H_{c}
cmark_rt T_{b}
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_{b} are not the same
% Constructing a line b which passes through point C and point T_{b}
line b C T_{b} 

color 200 200 200
drawline b
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 b are not parallel% DET:  lines c and b are not the same
% Constructing a point A which belongs to line c and line b
intersec A c b 
cmark_t A


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

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

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


% Constructing midpoint P_{\_G42491} of the segment CP_{\_G42485}
midpoint P_{\_G42491} C P_{\_G42485} 
cmark_r P_{\_G42491}

% Constructing a line L_{\_G42494} which passes through point A and point P_{\_G42491}
line L_{\_G42494} A P_{\_G42491} 

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


% Constructing a line L_{\_G42497} which passes through point C and point P_{\_G42491}
line L_{\_G42497} C P_{\_G42491} 

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


% Constructing a point P_{\_G42500} which belongs to line L_{\_G42488} and line L_{\_G42494}
intersec P_{\_G42500} L_{\_G42488} L_{\_G42494} 
cmark_r P_{\_G42500}

% Constructing a point P_{\_G42503} which belongs to line L_{\_G42488} and line L_{\_G42497}
intersec P_{\_G42503} L_{\_G42488} L_{\_G42497} 
cmark_r P_{\_G42503}

% Constructing a line L_{\_G42506} which passes through point A and point P_{\_G42503}
line L_{\_G42506} A P_{\_G42503} 

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


% Constructing a line L_{\_G42509} which passes through point C and point P_{\_G42500}
line L_{\_G42509} C P_{\_G42500} 

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


% Constructing a point P_{\_G42512} which belongs to line L_{\_G42506} and line L_{\_G42509}
intersec P_{\_G42512} L_{\_G42506} L_{\_G42509} 
cmark_r P_{\_G42512}

% Constructing a line L_{\_G42515} which passes through point P_{\_G42491} and point P_{\_G42512}
line L_{\_G42515} P_{\_G42491} P_{\_G42512} 

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


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


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

% Constructing a circle k_over(T_{b},T`_{b}) whose center is at point P_{\_G43346} and which passes through point T_{b}
circle k_over(T_{b},T`_{b}) P_{\_G43346} 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 c and b are not parallel
% Determination conditions:  lines c and b are not the same; points C and T_{b} are not the same; points C and H_{c} are not the same