Get selection from an xgeo_state
Examples
state <- xgeo_state(matrix(c(1, 2, 3, 4), nrow = 2))
state <- set_xgeo_selection(state, point_ids = state$indices$point_ids[[1]])
xgeo_selection(state)
#> $point_ids
#> [1] "point_1"
#>
#> $features
#> character(0)
#>