+ // moving point of the spline connection
+ if ( ((bsx!=nsx)&&(bex!=nex)) || ((bsy!=nsy)&&(bey!=ney)) )
+ {
+ double difx=bsx-nsx;
+ double dify=bey-ney;
+ double tmpX, tmpY, tmpZ;
+ int i,size=_model->GetSizeLstPoints();
+ if (size>2)
+ {
+ for (i=1;i<size-1;i++)
+ {
+ point = _model->GetManualPoint(i);
+ tmpX = point->GetX();
+ tmpY = point->GetY();
+ tmpZ = point->GetZ();
+ point->SetPoint(tmpX-difx,tmpY-dify,tmpZ);
+ } // for i
+ }// if size
+ } // if bsx nsx bex nex bsy nsy bey ney