Yes, sorry, the example is just a loose understanding. I use constantly changing variables, and each time I apply the layer the origin point and end point change (however the end point is always diagonal from the origin point). The full code is below:
L = thisComp.layer("Origin");
G1 = L.toWorld(L.anchorPoint,inPoint);
G2 = L.toWorld(L.anchorPoint,inPoint) + [2000, 500];
easeIn(time,inPoint,outPoint,G1,G2);