# Fusion 2 vector of float into 1 vector of cvPoint2f

Hi,

Let's say I have two vectors **std::vector< float >** pX,pY. Is there any way I can fusion those 2 vectors into one single **std::vector< cv::Point2f >** points, where the vector pX is the X elements and pY the Y elements of the vector points? I know I can use a for loop, but I wanted to know a more matricial, or simpler function can achieve this.

Thanks!