Construction in GCLC language


dim 120 120

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

color 220 0 0
fontsize 11

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

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

color 200 200 200
drawline m(BH_{a})
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(BH_{c}) which contains the point E_{b} and is parallel to the line m_{c}
parallel m(BH_{c}) E_{b} m_{c} 

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




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

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



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



% Constructing a point H such that BH/BE_{b}=2
towards H B E_{b} 2 
cmark_rt H
color 200 200 200
drawsegment B H 
color 0 0 0



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



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

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


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

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

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

% Constructing a line L_{\_G61388} which passes through point H and point P_{\_G61427}
line L_{\_G61388} H P_{\_G61427} 

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


% Constructing a line L_{\_G61351} which contains the point P_{\_G61382} and is parallel to the line L_{\_G61388}
parallel L_{\_G61351} P_{\_G61382} L_{\_G61388} 

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


% Constructing a point G which belongs to line L_{\_G61351} and line L_{\_G61357}
intersec G L_{\_G61351} L_{\_G61357} 
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 a and c are not parallel; lines m_{a} and m(BH_{c}) are not parallel
% Determination conditions:  lines a and c are not the same; lines m_{a} and m(BH_{c}) are not the same; points M_{c} and O are not the same; points E_{b} and M_{c} are not the same