
add_shape_descriptors() method for bundle_set objects
Source: R/shape.R
add_shape_descriptors-fiber-bundle_set-method.RdAdds 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.