Hello,

I have a set of xy points(forms a polyline). What I want to do is, with the help of existing set of points, I need to redistribute the number of points such that the first and last point remain is same position. The intermediate points will change.

For example, initally I have set of 10 points. I want to redistribute this polyline containing 10 points into 40 points. But the first and last point must remain as it is. Internal points may be adjusted. I guess interpolation should be used for this. 
What I want to know is that whether this is possible to do using boost c++ library?
Thanks
Regards