Determines if the passed-in path curve is valid.
Returns eOk if curve is valid or eInvalidInput otherwise.