Skip to contents

Adds shape descriptors to every bundle inside a bundle_set. Scalar descriptors (euclidean_length, curvilinear_length, sinuosity) are stored as length-S vectors in each bundle's @streamline_data. Per-point descriptors (curvature, torsion) are stored in each individual streamline's @point_data. Both are accessible via the subsetting push-down (bundle_set[[i]][[j]]). @bundle_data and @bundle_set_data are preserved unchanged.

Value

A bundle_set with the specified shape descriptors added.