var t=figure.create('transform',[["X(B)-X(A)","Y(B)-Y(A)"],origine],{type:'translation'}); var D=figure.create('point',[origine,t]);