mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 14:40:35 +05:00
archive vertex properties (in backwards compatible way)
This commit is contained in:
parent
b808d84957
commit
7d0bbdab07
@ -1747,7 +1747,10 @@ namespace netgen
|
||||
Array<TopoDS_Shape> shape_list;
|
||||
|
||||
ar & dimension;
|
||||
for (auto typ : { TopAbs_SOLID, TopAbs_FACE, TopAbs_EDGE })
|
||||
auto types = Array<TopAbs_ShapeEnum>{ TopAbs_SOLID, TopAbs_FACE, TopAbs_EDGE };
|
||||
if(ar.GetVersion("netgen") >= "v6.2.2406-22")
|
||||
types.Append(TopAbs_VERTEX);
|
||||
for (auto typ : types)
|
||||
for (TopExp_Explorer e(shape, typ); e.More(); e.Next())
|
||||
{
|
||||
auto ds = e.Current();
|
||||
|
Loading…
Reference in New Issue
Block a user