Construction in GCLC language


dim 120 120

point E_{c} 95 56.36
point M_{b} 95 67.5
point O 65 51.14

color 220 0 0
fontsize 11

cmark_r E_{c}
cmark_rt M_{b}
cmark_t O
color 0 0 0
fontsize 10

% DET:  points E_{c} and M_{b} are not the same
% Constructing a line m(CH_{a}) which passes through point E_{c} and point M_{b}
line m(CH_{a}) E_{c} M_{b} 

color 200 200 200
drawline m(CH_{a})
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




% 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 m(CH_{b}) which contains the point E_{c} and is parallel to the line m_{b}
parallel m(CH_{b}) E_{c} m_{b} 

color 200 200 200
drawline m(CH_{b})
color 0 0 0




% Constructing a line m_{a} which contains the point O and is parallel to the line m(CH_{a})
parallel m_{a} O m(CH_{a}) 

color 200 200 200
drawline m_{a}
color 0 0 0



% NDG:  lines m_{a} and m(CH_{b}) are not parallel% DET:  lines m_{a} and m(CH_{b}) are not the same
% Constructing a point M_{a} which belongs to line m_{a} and line m(CH_{b})
intersec M_{a} m_{a} m(CH_{b}) 
cmark_b M_{a}



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

color 200 200 200
drawline a
color 0 0 0



% NDG:  lines a and b are not parallel% DET:  lines a and b are not the same
% Constructing a point C which belongs to line a and line b
intersec C a b 
cmark_b C



% Constructing a point H such that CH/CE_{c}=2
towards H C E_{c} 2 
cmark_rt H
color 200 200 200
drawsegment C H 
color 0 0 0



% Constructing a point A such that M_{b}A/M_{b}C=-1
towards A M_{b} C -1 
cmark_t A
color 200 200 200
drawsegment C A 
color 0 0 0



% Constructing a line L_{\_G39056} which passes through point O and point H
line L_{\_G39056} O H 

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


% Constructing a point P_{\_G39157} with coordinates (0,0)
point P_{\_G39157} 0 0 
cmark_r P_{\_G39157}

% Constructing a point P_{\_G39081} such that OP_{\_G39081}/OP_{\_G39157}=1
towards P_{\_G39081} O P_{\_G39157} 1 
cmark_r P_{\_G39081}
color 200 200 200
drawsegment O P_{\_G39081} 
color 0 0 0

% Constructing a point P_{\_G39126} such that OP_{\_G39126}/OP_{\_G39157}=3
towards P_{\_G39126} O P_{\_G39157} 3 
cmark_r P_{\_G39126}
color 200 200 200
drawsegment O P_{\_G39126} 
color 0 0 0

% Constructing a line L_{\_G39087} which passes through point H and point P_{\_G39126}
line L_{\_G39087} H P_{\_G39126} 

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


% Constructing a line L_{\_G39050} which contains the point P_{\_G39081} and is parallel to the line L_{\_G39087}
parallel L_{\_G39050} P_{\_G39081} L_{\_G39087} 

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


% Constructing a point G which belongs to line L_{\_G39050} and line L_{\_G39056}
intersec G L_{\_G39050} L_{\_G39056} 
cmark_t G



% 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



drawsegment A B
drawsegment A C
drawsegment B C

% Non-degenerate conditions:  lines a and b are not parallel; lines m_{a} and m(CH_{b}) are not parallel
% Determination conditions:  lines a and b are not the same; lines m_{a} and m(CH_{b}) are not the same; points M_{b} and O are not the same; points E_{c} and M_{b} are not the same