Sampling functions have been renamed to better reflect what they do.
- `sample` is now `sample_intersections`
- `sample_one` is now `sample_closest`

Both of these functions are still available under their old names. (GL#1531)
