Creates new 2d curve instance from OdGeCurve2d.
Returns eOk if common curve information was successfully set or an appropriate error code in the other case.