Merge remote-tracking branch 'remotes/origin/master' into vb_treesupports
This commit is contained in:
commit
6e653d9070
90 changed files with 14324 additions and 5202 deletions
|
@ -19,6 +19,13 @@ void ExPolygon::scale(double factor)
|
|||
hole.scale(factor);
|
||||
}
|
||||
|
||||
void ExPolygon::scale(double factor_x, double factor_y)
|
||||
{
|
||||
contour.scale(factor_x, factor_y);
|
||||
for (Polygon &hole : holes)
|
||||
hole.scale(factor_x, factor_y);
|
||||
}
|
||||
|
||||
void ExPolygon::translate(const Point &p)
|
||||
{
|
||||
contour.translate(p);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue