mirror of https://github.com/KLayout/klayout.git
Merge pull request #1968 from KLayout/bugfix/issue-1967
Bugfix/issue 1967
This commit is contained in:
commit
b4dc9a6b1d
|
|
@ -1454,7 +1454,7 @@ NetTracer::determine_interactions (const db::Polygon &seed, const NetTracerShape
|
|||
db::Polygon::area_type poly_area = seed.area_upper_manhattan_bound ();
|
||||
db::Polygon::area_type box_area = seed.box ().area ();
|
||||
|
||||
if (poly_area == box_area && seed.vertices () == 4) {
|
||||
if (seed.is_box ()) {
|
||||
|
||||
// The polygon is a box
|
||||
determine_interactions (seed.box (), shape, layers, delivery);
|
||||
|
|
|
|||
|
|
@ -394,3 +394,15 @@ TEST(9)
|
|||
run_test (_this, file, tc, db::LayerProperties (8, 0), db::Point (3000, 6800), file_au, "A");
|
||||
}
|
||||
|
||||
// issue #1967
|
||||
TEST(10)
|
||||
{
|
||||
std::string file = "t10.oas.gz";
|
||||
std::string file_au = "t10_net.oas.gz";
|
||||
|
||||
db::NetTracerConnectivity tc;
|
||||
tc.add (connection ("1", "2"));
|
||||
|
||||
run_test (_this, file, tc, db::LayerProperties (1, 0), db::Point (300000, 7000), file_au, "");
|
||||
}
|
||||
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue