Construction in GCLC language


dim 120 120

point E_{a} 80 83.86
point M_{c} 50 67.5
point O 65 51.14

color 220 0 0
fontsize 11

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

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

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




% 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




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

color 200 200 200
drawline m(AH_{c})
color 0 0 0




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

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



% NDG:  lines m_{b} and m(AH_{c}) are not parallel% DET:  lines m_{b} and m(AH_{c}) are not the same
% Constructing a point M_{b} which belongs to line m_{b} and line m(AH_{c})
intersec M_{b} m_{b} m(AH_{c}) 
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 c are not parallel% DET:  lines b and c are not the same
% Constructing a point A which belongs to line b and line c
intersec A b c 
cmark_t A



% Constructing a point H such that AH/AE_{a}=2
towards H A E_{a} 2 
cmark_rt H
color 200 200 200
drawsegment A H 
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



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

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


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

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

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

% Constructing a line L_{\_G57989} which passes through point H and point P_{\_G58028}
line L_{\_G57989} H P_{\_G58028} 

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


% Constructing a line L_{\_G57952} which contains the point P_{\_G57983} and is parallel to the line L_{\_G57989}
parallel L_{\_G57952} P_{\_G57983} L_{\_G57989} 

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


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



% 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



drawsegment A B
drawsegment A C
drawsegment B C

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