for (int i=0 ; i<plcOld.pointCount() ; i++) {
plcNew.addPoint(plcOld.pointAt(i).x , plcOld.pointAt(i).y);
}
plcNew.startPoint(gcf.getConnectors()[0].getDisplayBox().x , gcf.getConnectors()[0].getDisplayBox().y);
plcNew.connectStart(gcf.getConnectors()[0]);
Figure featureFigure = mFigure.get(f.getID());
plcNew.endPoint(featureFigure.getConnectors()[3].getDisplayBox().x , featureFigure.getConnectors()[3].getDisplayBox().y);
plcNew.connectEnd(featureFigure.getConnectors()[3]);
dv.add(plcNew);