void PointGroup::removePoint(GPoint _point) { for (int i = 0; i < mPoints.size(); i++) { if (mPoints[i].getStrokeId() == _point.getStrokeId()) { mPoints.erase(mPoints.begin()+i); break; } } //center neu berechnen calculateCenter(); }