Construction in GCLC language


dim 120 120

point C 110 40
point H_{a} 80 40
point T_{b} 94.25 68.88

color 220 0 0
fontsize 11

cmark_b C
cmark_b H_{a}
cmark_rt T_{b}
color 0 0 0
fontsize 10

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

color 200 200 200
drawline a
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 h_{a} which is perpendicular to line a and which passes through point H_{a}
perp h_{a} H_{a} a 

color 200 200 200
drawline h_{a}
color 0 0 0



% NDG:  lines h_{a} and b are not parallel% DET:  lines h_{a} and b are not the same
% Constructing a point A which belongs to line h_{a} and line b
intersec A h_{a} 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_{\_G56493} which is an image of the point C in a rotation around the point T_{b} for the angle 90
rotate P_{\_G56493} T_{b} 90 C 
cmark_r P_{\_G56493}
color 200 200 200
drawarc_p T_{b} C 90 
color 0 0 0

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

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


% Constructing midpoint P_{\_G56499} of the segment CP_{\_G56493}
midpoint P_{\_G56499} C P_{\_G56493} 
cmark_r P_{\_G56499}

% Constructing a line L_{\_G56502} which passes through point A and point P_{\_G56499}
line L_{\_G56502} A P_{\_G56499} 

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


% Constructing a line L_{\_G56505} which passes through point C and point P_{\_G56499}
line L_{\_G56505} C P_{\_G56499} 

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


% Constructing a point P_{\_G56508} which belongs to line L_{\_G56496} and line L_{\_G56502}
intersec P_{\_G56508} L_{\_G56496} L_{\_G56502} 
cmark_r P_{\_G56508}

% Constructing a point P_{\_G56511} which belongs to line L_{\_G56496} and line L_{\_G56505}
intersec P_{\_G56511} L_{\_G56496} L_{\_G56505} 
cmark_r P_{\_G56511}

% Constructing a line L_{\_G56514} which passes through point A and point P_{\_G56511}
line L_{\_G56514} A P_{\_G56511} 

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


% Constructing a line L_{\_G56517} which passes through point C and point P_{\_G56508}
line L_{\_G56517} C P_{\_G56508} 

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


% Constructing a point P_{\_G56520} which belongs to line L_{\_G56514} and line L_{\_G56517}
intersec P_{\_G56520} L_{\_G56514} L_{\_G56517} 
cmark_r P_{\_G56520}

% Constructing a line L_{\_G56523} which passes through point P_{\_G56499} and point P_{\_G56520}
line L_{\_G56523} P_{\_G56499} P_{\_G56520} 

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


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


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

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

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



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



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  line a 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_{a} and b are not parallel
% Determination conditions:  lines h_{a} and b are not the same; points C and T_{b} are not the same; points C and H_{a} are not the same