Function squiggles::deserialize_path

Function Documentation

std::optional<std::vector<ProfilePoint>> squiggles::deserialize_path(std::istream &in)

Converts CSV data into a path.

Parameters

in – The input stream containing the CSV data. This is usually a file.

Returns

The path specified by the CSV data or std::nullopt if de-serializing the path was unsuccessful.