Returns the point on this Curve object closest to the given point.
Returns eOk if successful, or an appropriate error code if not.