summaryrefslogtreecommitdiff
path: root/src/IFSelect/IFSelect_SelectUnion.cxx
blob: 750180a8c28a9107dedd56a9c9479585f10b2b84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <IFSelect_SelectUnion.ixx>
#include <IFGraph_Cumulate.hxx>


    IFSelect_SelectUnion::IFSelect_SelectUnion ()    {  }


    Interface_EntityIterator  IFSelect_SelectUnion::RootResult
  (const Interface_Graph& G) const 
{
  IFGraph_Cumulate GC(G);
  Standard_Integer nb = NbInputs();
  for (Standard_Integer i = 1; i <= nb; i ++)
    GC.GetFromIter(Input(i)->RootResult(G));
  return GC.Result();
}

    TCollection_AsciiString  IFSelect_SelectUnion::Label () const 
      {  return TCollection_AsciiString("Union (OR)");  }