Sets a new transformation for the curve.
Returns eOk if the new transformation was successfully set or an appropriate error code in the other case.