Interpolate contour points that are very close or on the region boundaries.
interp_new_pts(r, new_pts, reg_info, end = TRUE, close = 12.5)integer indicating for which region the contours are being generated
coordinates of the contour
a reg_info list (see documentation for reg_info)
indicator determining if the points are being interpolated on
the ending coordinates or the starting coordinates. Defaults to TRUE.
how close a point must be to the line to count as being on it, defaults to 12.5