get_geom function

Get a ggplot2 layer from a barrier object