polygons.smooth: support cutom knots
polygons: remove old test code