smooth_densify function

Densify lines or polygons