Sets a new instance of the curve data.
Returns eOk if common curve information was successfully set or an appropriate error code in the other case.