+ optimize creation of hexagonal sketch profile, add icon

This commit is contained in:
wmayer
2014-06-04 12:05:41 +02:00
parent f3a1825e73
commit 86d80db12c
10 changed files with 317 additions and 58 deletions

View File

@@ -174,10 +174,12 @@ int Sketch::addGeometry(const Part::Geometry *geo, bool fixed)
}
}
void Sketch::addGeometry(const std::vector<Part::Geometry *> &geo, bool fixed)
int Sketch::addGeometry(const std::vector<Part::Geometry *> &geo, bool fixed)
{
int ret = -1;
for (std::vector<Part::Geometry *>::const_iterator it=geo.begin(); it != geo.end(); ++it)
addGeometry(*it, fixed);
ret = addGeometry(*it, fixed);
return ret;
}
int Sketch::addPoint(const Part::GeomPoint &point, bool fixed)