coo <- bot[1] %>% coo_center %>% coo_scale
coo_plot(coo)
coo %>% coo_intersect_angle(pi/7) %>%
coo[., , drop=FALSE] %>% points(col="red")
# many angles
coo_plot(coo)
sapply(seq(0, pi, pi/12),
function(x) coo %>% coo_intersect_angle(x)) -> ids
coo[ids, ] %>% points(col="blue")
coo %>%
coo_intersect_direction("down") %>%
coo[.,, drop=FALSE] %>% points(col="orange")
Run the code above in your browser using DataLab