Returns the distance along this Curve object from its start point to the point specified by param.
Returns eOk if successful, or an appropriate error code if not.