Converts a `fluvgeo` cross section data structure from lines to points.
xs2pts(xs_sf)
Returns a sf::sf data frame of cross section lines converted to points.
# Retrieve a cross section data structure
xs_sf <- fluvgeo::sin_riffle_floodplain_dims_L3_sf
# Call the xs2pts function for a cross section
xs_pts <- xs2pts(xs_sf)