%@AUTEUR:Guillaume Connan

prologues:=2;

verbatimtex
%&latex
\documentclass{article}
\usepackage[upright]{fourier}
\begin{document}
etex

input geometriesyr16

figure(-1.5u,-3.5u,10u,3u);

pair A,B,C,A',B',C',v,D,D';
path t,tt;
v:=(4u,u);
A=u*(2,-1.5); B=u*(3,-1); C=u*(2.2,1);
t:=polygone(A,B,C);
A':=A shifted v; B':=B shifted v; C':=C shifted v;
tt:=t shifted v;
trace t withpen pencircle scaled 1.3bp withcolor green;
trace tt withpen pencircle scaled 1.3bp withcolor blue;
drawarrow A--A' dashed evenly;
drawarrow B--B' dashed evenly;
drawarrow C--C' dashed evenly;
label.bot(btex $M$ etex, A);
label.bot(btex $M'$ etex,A');
label.urt(btex $N$ etex,B);
label.urt(btex $N'$ etex,B');
label.top(btex $P$ etex,C);
label.top(btex $P'$ etex,C');
D:=C shifted(0,u); D':=C' shifted(0,u); 
drawarrow D--D' withcolor orange;
label.top(btex $\overrightarrow{v}$ etex, 0.5[D,D']) withcolor orange;

fillcolor:=jaune;
transparence t;
fillcolor:=ciel;
transparence tt;
fin;

end