mirror of https://github.com/KLayout/klayout.git
Preserving the hull of simple polygons during insert in a Region, hence skipping the compression
This commit is contained in:
parent
16604e5a92
commit
e764716bda
|
|
@ -83,7 +83,7 @@ MutableRegion::insert (const db::SimplePolygon &polygon)
|
|||
{
|
||||
if (polygon.vertices () > 0) {
|
||||
db::Polygon poly;
|
||||
poly.assign_hull (polygon.begin_hull (), polygon.end_hull ());
|
||||
poly.assign_hull (polygon.hull ());
|
||||
do_insert (poly, 0);
|
||||
}
|
||||
}
|
||||
|
|
@ -93,7 +93,7 @@ MutableRegion::insert (const db::SimplePolygonWithProperties &polygon)
|
|||
{
|
||||
if (polygon.vertices () > 0) {
|
||||
db::Polygon poly;
|
||||
poly.assign_hull (polygon.begin_hull (), polygon.end_hull ());
|
||||
poly.assign_hull (polygon.hull ());
|
||||
do_insert (poly, polygon.properties_id ());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue