Construction in GCLC language


dim 120 120

point E_{a} 80 83.86
point M_{b} 95 67.5
point O 65 51.14

color 220 0 0
fontsize 11

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

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

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

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




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

color 200 200 200
drawline m_{c}
color 0 0 0



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



% 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 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 C such that M_{b}C/M_{b}A=-1
towards C M_{b} A -1 
cmark_b C
color 200 200 200
drawsegment A C 
color 0 0 0



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

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


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

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

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

% Constructing a line L_{\_G49558} which passes through point H and point P_{\_G49597}
line L_{\_G49558} H P_{\_G49597} 

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


% Constructing a line L_{\_G49521} which contains the point P_{\_G49552} and is parallel to the line L_{\_G49558}
parallel L_{\_G49521} P_{\_G49552} L_{\_G49558} 

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


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