Selection of Geom2d_BSplineCurve "pole" (points)

Hello, I was working on curves, I created long std::vector vector list for define coordinates of dots and create spline out of them. Is there way to select those points and make drag with spline ?

Curve creation code snippet

        Handle(TColgp_HArray1OfPnt) cPS;
        int nbCP= points.size();
        cPS= new TColgp_HArray1OfPnt(1, nbCP);

        int index = 1;
        for (int i = 0; i < points.size(); ++i)
            cPS->SetValue(index++, points[i]);
        GeomAPI_Interpolate INT(cPS, false, 0.001);
        Handle(Geom_BSplineCurve) curve = INT.Curve();
        return curve;

I'm new to occt so sorry If question is too easy.

Thank you.