initialize bounding box

This commit is contained in:
Matthias Hochsteger 2020-08-20 16:12:26 +02:00
parent 28d4b219fa
commit 4dcd20a0c7

View File

@ -1417,7 +1417,7 @@ shared_ptr<netgen::SplineGeometry2d> CSG2d :: GenerateSplineGeometry()
// Add geometry points to SplineGeometry // Add geometry points to SplineGeometry
netgen::Box<2> box; netgen::Box<2> box(netgen::Box<2>::EMPTY_BOX);
for(auto & s : solids) for(auto & s : solids)
for(auto & poly : s.polys) for(auto & poly : s.polys)
for(auto v : poly.Vertices(ALL)) for(auto v : poly.Vertices(ALL))