0022627: Change OCCT memory management defaults
[occt.git] / src / IFSelect / IFSelect_SelectUnion.cxx
CommitLineData
7fd59977 1#include <IFSelect_SelectUnion.ixx>
2#include <IFGraph_Cumulate.hxx>
3
4
5 IFSelect_SelectUnion::IFSelect_SelectUnion () { }
6
7
8 Interface_EntityIterator IFSelect_SelectUnion::RootResult
9 (const Interface_Graph& G) const
10{
11 IFGraph_Cumulate GC(G);
12 Standard_Integer nb = NbInputs();
13 for (Standard_Integer i = 1; i <= nb; i ++)
14 GC.GetFromIter(Input(i)->RootResult(G));
15 return GC.Result();
16}
17
18 TCollection_AsciiString IFSelect_SelectUnion::Label () const
19 { return TCollection_AsciiString("Union (OR)"); }