Construction in GCLC language


dim 120 120

point E_{c} 95 56.36
point M_{a} 65 40
point O 65 51.14

color 220 0 0
fontsize 11

cmark_r E_{c}
cmark_b M_{a}
cmark_t O
color 0 0 0
fontsize 10

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

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



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

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




% 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




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

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




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

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



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



% 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:  lines b and a are not parallel% DET:  lines b and a are not the same
% Constructing a point C which belongs to line b and line a
intersec C b a 
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 B such that M_{a}B/M_{a}C=-1
towards B M_{a} C -1 
cmark_b B
color 200 200 200
drawsegment C B 
color 0 0 0



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

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


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

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

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

% Constructing a line L_{\_G52847} which passes through point H and point P_{\_G52886}
line L_{\_G52847} H P_{\_G52886} 

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


% Constructing a line L_{\_G52810} which contains the point P_{\_G52841} and is parallel to the line L_{\_G52847}
parallel L_{\_G52810} P_{\_G52841} L_{\_G52847} 

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


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



% Constructing a point A such that M_{a}A/M_{a}G=3
towards A M_{a} G 3 
cmark_t A
color 200 200 200
drawsegment M_{a} A 
color 0 0 0



drawsegment A B
drawsegment A C
drawsegment B C

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