How can we get the previous position in the relative position calculation?

Hello,

I am using a combination of polar and linear mouvements.
The absolute move is working perfectly but the relative move require the previous position to be estimated.
Is there a way to get the current position, the intended relative move and to set the new position?

Thank you,

Imported from wikidot