Returns curve that represents the dimension.
eOk if the operation completed successfully, or an appropriate error code otherwise.