Construction in GCLC language


dim 120 120

point M_{b} 95 67.5
point G 70 58.33
point H 80 72.73

color 220 0 0
fontsize 11

cmark_rt M_{b}
cmark_t G
cmark_rt H
color 0 0 0
fontsize 10


% Constructing a point B such that M_{b}B/M_{b}G=3
towards B M_{b} G 3 
cmark_b B
color 200 200 200
drawsegment M_{b} B 
color 0 0 0



% Constructing a point O such that GO/GH=-0.5
towards O G H -0.5 
cmark_t O
color 200 200 200
drawsegment H O 
color 0 0 0


% DET:  points M_{b} and O are not the same
% Constructing a line m_{b} which passes through point M_{b} and point O
line m_{b} M_{b} O 

color 200 200 200
drawline m_{b}
color 0 0 0



% NDG:  points B and O are not the same
% Constructing a circle k(O,C) whose center is at point O and which passes through point B
circle k(O,C) O B 

color 200 200 200
drawcircle k(O,C)
color 0 0 0




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

color 200 200 200
drawline b
color 0 0 0



% NDG:  line b and circle k(O,C) intersect
% Constructing points C and A which are in intersection of k(O,C) and b
intersec2 C A k(O,C) b 
cmark_b C
cmark_t A



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  line b and circle k(O,C) intersect; points B and O are not the same
% Determination conditions:  points M_{b} and O are not the same