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