mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
initialize bounding box
This commit is contained in:
parent
28d4b219fa
commit
4dcd20a0c7
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user