
Convert a flat named list (C++ output) to a streamline or bundle
Source:R/bundle.R
flat_list_to_bundle.RdThe input is the named list returned by ReadVTK(), ReadVTP(), or
ReadFDS(), which has at minimum columns "X", "Y", "Z",
"PointId", and "StreamlineId". Columns named in streamline_cols are
treated as per-streamline attributes: one value is stored per streamline
(taken from the first occurrence in each group rather than broadcast).
All remaining extra columns are treated as per-point attributes.
Usage
flat_list_to_bundle(lst, streamline_cols = character(0L))Value
A streamline or bundle.
Details
Returns a streamline when the data contain exactly one streamline, otherwise a bundle.