A convenience constructor that wraps the streamline S7 class.
Arguments
- points
A numeric matrix with at least three columns named
"X","Y", and"Z". Rows correspond to ordered points along the tract.- point_data
A named list of numeric vectors, each of length
nrow(points), holding per-point scalar attributes. Defaults to an empty list.- streamline_data
A named list of numeric scalars (length-1 vectors) holding per-streamline attributes. Defaults to an empty list.
Value
An object of class streamline.