Construction in GCLC language
dim 120 120
point O 65 51.14
point M_{b} 95 67.5
point M_{c} 50 67.5
color 220 0 0
fontsize 11
cmark_t O
cmark_rt M_{b}
cmark_lt M_{c}
color 0 0 0
fontsize 10
% DET: points O and M_{b} are not the same
% Constructing a line m_{b} which passes through point O and point M_{b}
line m_{b} O M_{b}
color 200 200 200
drawline m_{b}
color 0 0 0
% DET: points O and M_{c} are not the same
% Constructing a line m_{c} which passes through point O and point M_{c}
line m_{c} O M_{c}
color 200 200 200
drawline m_{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
% 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: 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
% Constructing a point C such that AC/AM_{b}=2
towards C A M_{b} 2
cmark_b C
color 200 200 200
drawsegment A C
color 0 0 0
% Constructing a point B such that M_{c}B/M_{c}A=-1
towards B M_{c} A -1
cmark_b B
color 200 200 200
drawsegment A B
color 0 0 0
drawsegment A B
drawsegment A C
drawsegment B C
% Non-degenerate conditions: lines c and b are not parallel
% Determination conditions: lines c and b are not the same; points O and M_{c} are not the same; points O and M_{b} are not the same