Construction in GCLC language


dim 120 120

point A 80 95
point H_{b} 89.36 77.83
point T_{c} 55.38 72.43

color 220 0 0
fontsize 11

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

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

color 200 200 200
drawline b
color 0 0 0



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

color 200 200 200
drawline c
color 0 0 0




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

color 200 200 200
drawline h_{b}
color 0 0 0



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


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

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

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


% Constructing midpoint P_{\_G13004} of the segment BP_{\_G12998}
midpoint P_{\_G13004} B P_{\_G12998} 
cmark_r P_{\_G13004}

% Constructing a line L_{\_G13007} which passes through point A and point P_{\_G13004}
line L_{\_G13007} A P_{\_G13004} 

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


% Constructing a line L_{\_G13010} which passes through point B and point P_{\_G13004}
line L_{\_G13010} B P_{\_G13004} 

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


% Constructing a point P_{\_G13013} which belongs to line L_{\_G13001} and line L_{\_G13007}
intersec P_{\_G13013} L_{\_G13001} L_{\_G13007} 
cmark_r P_{\_G13013}

% Constructing a point P_{\_G13016} which belongs to line L_{\_G13001} and line L_{\_G13010}
intersec P_{\_G13016} L_{\_G13001} L_{\_G13010} 
cmark_r P_{\_G13016}

% Constructing a line L_{\_G13019} which passes through point A and point P_{\_G13016}
line L_{\_G13019} A P_{\_G13016} 

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


% Constructing a line L_{\_G13022} which passes through point B and point P_{\_G13013}
line L_{\_G13022} B P_{\_G13013} 

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


% Constructing a point P_{\_G13025} which belongs to line L_{\_G13019} and line L_{\_G13022}
intersec P_{\_G13025} L_{\_G13019} L_{\_G13022} 
cmark_r P_{\_G13025}

% Constructing a line L_{\_G13028} which passes through point P_{\_G13004} and point P_{\_G13025}
line L_{\_G13028} P_{\_G13004} P_{\_G13025} 

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


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


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

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

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



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



drawsegment A B
drawsegment A C
drawsegment B C

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