get_euclidean_length() is a function that computes the Euclidean
(straight-line) distance of a streamline object.
Arguments
- x
A streamline object.
Examples
sl <- streamline(points = cbind(X = runif(10), Y = runif(10), Z = runif(10)))
get_euclidean_length(sl)
#> [1] 0.5324479
