1 #include <IFSelect_SelectIntersection.ixx>
2 #include <IFGraph_Compare.hxx>
5 IFSelect_SelectIntersection::IFSelect_SelectIntersection () { }
8 Interface_EntityIterator IFSelect_SelectIntersection::RootResult
9 (const Interface_Graph& G) const
11 IFGraph_Compare GC(G);
12 Standard_Integer nb = NbInputs();
13 for (Standard_Integer i = 1; i <= nb; i ++) {
14 GC.GetFromIter(Input(i)->RootResult(G), (i==1));
15 if (i > 1 && i < nb) {
16 Interface_EntityIterator comm = GC.Common();
18 GC.GetFromIter (comm,Standard_True);
24 TCollection_AsciiString IFSelect_SelectIntersection::Label () const
25 { return TCollection_AsciiString("Intersection (AND)"); }