Construction in GCLC language


dim 120 120

point C 110 40
point T_{b} 94.25 68.88
point T_{c} 55.38 72.43

color 220 0 0
fontsize 11

cmark_b C
cmark_rt T_{b}
cmark_lt T_{c}
color 0 0 0
fontsize 10

% 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



% NDG:  point T_{c} is not incident to the line b
% Constructing a point P_{\_G52296} which is a foot of the point T_{c} on the line b
foot P_{\_G52296} T_{c} b 
cmark_r P_{\_G52296}
color 200 200 200
drawline T_{c} P_{\_G52296} 
color 0 0 0

% Constructing a circle k(T_{c},foot[T_{c},b]) whose center is at point T_{c} and which passes through point P_{\_G52296}
circle k(T_{c},foot[T_{c},b]) T_{c} P_{\_G52296} 

color 200 200 200
drawcircle k(T_{c},foot[T_{c},b])
color 0 0 0



% NDG:  point C is outside the circle k(T_{c},foot[T_{c},b])
% Constructing a point P_{\_G52687} which is a foot of the point T_{c} on the line b
foot P_{\_G52687} T_{c} b 
cmark_r P_{\_G52687}
color 200 200 200
drawline T_{c} P_{\_G52687} 
color 0 0 0

% Constructing a line L_{\_G52690} which passes through point T_{c} and point C
line L_{\_G52690} T_{c} C 

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


% Constructing a point P_{\_G52693} which is an image of the point P_{\_G52687} in the symmetry to point/line L_{\_G52690}
sim P_{\_G52693} L_{\_G52690} P_{\_G52687} 
cmark_r P_{\_G52693}

% Constructing a line a which passes through point C and point P_{\_G52693}
line a C P_{\_G52693} 

color 200 200 200
drawline a
color 0 0 0



% NDG:  point T_{b} is not incident to the line a
% Constructing a point P_{\_G52974} which is a foot of the point T_{b} on the line a
foot P_{\_G52974} T_{b} a 
cmark_r P_{\_G52974}
color 200 200 200
drawline T_{b} P_{\_G52974} 
color 0 0 0

% Constructing a circle k(T_{b},foot[T_{b},c]) whose center is at point T_{b} and which passes through point P_{\_G52974}
circle k(T_{b},foot[T_{b},c]) T_{b} P_{\_G52974} 

color 200 200 200
drawcircle k(T_{b},foot[T_{b},c])
color 0 0 0



% NDG:  point T_{c} is outside the circle k(T_{b},foot[T_{b},c])
% Constructing midpoint P_{\_G53392} of the segment T_{c}T_{b}
midpoint P_{\_G53392} T_{c} T_{b} 
cmark_r P_{\_G53392}

% Constructing a circle C_{\_G53395} whose center is at point P_{\_G53392} and which passes through point T_{c}
circle C_{\_G53395} P_{\_G53392} T_{c} 

color 200 200 200
drawcircle C_{\_G53395}
color 0 0 0


% Constructing points P_{\_G53398} and P_{\_G53401} which are in intersection of C_{\_G53395} and k(T_{b},foot[T_{b},c])
intersec2 P_{\_G53398} P_{\_G53401} C_{\_G53395} k(T_{b},foot[T_{b},c]) 
cmark_r P_{\_G53398}
cmark_r P_{\_G53401}

% Constructing a line c2 which passes through point T_{c} and point P_{\_G53398}
line c2 T_{c} P_{\_G53398} 

color 200 200 200
drawline c2
color 0 0 0


% Constructing a line c which passes through point T_{c} and point P_{\_G53401}
line c T_{c} P_{\_G53401} 

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:  lines a and c are not parallel% DET:  lines a and c are not the same
% Constructing a point B which belongs to line a and line c
intersec B a c 
cmark_b B



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  lines a and c are not parallel; lines c and b are not parallel; point T_{c} is outside the circle k(T_{b},foot[T_{b},c]); point T_{b} is not incident to the line a; point C is outside the circle k(T_{c},foot[T_{c},b]); point T_{c} is not incident to the line b
% Determination conditions:  lines a and c are not the same; lines c and b are not the same; points C and T_{b} are not the same