Construction in GCLC language
dim 120 120
point M_{c} 50 67.5
point G 70 58.33
point H 80 72.73
color 220 0 0
fontsize 11
cmark_lt M_{c}
cmark_t G
cmark_rt H
color 0 0 0
fontsize 10
% Constructing a point C such that M_{c}C/M_{c}G=3
towards C M_{c} G 3
cmark_b C
color 200 200 200
drawsegment M_{c} C
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_{c} and O are not the same
% Constructing a line m_{c} which passes through point M_{c} and point O
line m_{c} M_{c} O
color 200 200 200
drawline m_{c}
color 0 0 0
% NDG: points C and O are not the same
% Constructing a circle k(O,C) whose center is at point O and which passes through point C
circle k(O,C) O C
color 200 200 200
drawcircle k(O,C)
color 0 0 0
% Constructing a line c which is perpendicular to line m_{c} and which passes through point M_{c}
perp c M_{c} m_{c}
color 200 200 200
drawline c
color 0 0 0
% NDG: line c and circle k(O,C) intersect
% Constructing points A and B which are in intersection of k(O,C) and c
intersec2 A B k(O,C) c
cmark_t A
cmark_b B
drawsegment A B
drawsegment A C
drawsegment B C
% Non-degenerate conditions: line c and circle k(O,C) intersect; points C and O are not the same
% Determination conditions: points M_{c} and O are not the same