Find transition points (points at the start/end of polygons)
find_trans(pts, r, reg_info, close = 12.5)
matrix with two columns giving coordinates of the points
integer specifying the region
a reg_info
list (see documentation for reg_info
)
how close a point must be to the line to count as being on it, defaults to 12.5